diff options
author | Tom Lane | 2001-08-23 23:06:38 +0000 |
---|---|---|
committer | Tom Lane | 2001-08-23 23:06:38 +0000 |
commit | 7326e78c4249393359edce09f555aaa049be2a80 (patch) | |
tree | d1fc53198588ee98884524a28b13105a6b296952 /src/include/c.h | |
parent | 29ec29ffac53b50870a55b88f96b462835e9042a (diff) |
Ensure that all TransactionId comparisons are encapsulated in macros
(TransactionIdPrecedes, TransactionIdFollows, etc). First step on the
way to transaction ID wrap solution ...
Diffstat (limited to 'src/include/c.h')
-rw-r--r-- | src/include/c.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/include/c.h b/src/include/c.h index 0457a4af5b7..d67dee12ac6 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.97 2001/07/11 22:12:43 momjian Exp $ + * $Id: c.h,v 1.98 2001/08/23 23:06:38 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -330,11 +330,9 @@ typedef Oid RegProcedure; typedef uint32 TransactionId; -#define InvalidTransactionId 0 - typedef uint32 CommandId; -#define FirstCommandId 0 +#define FirstCommandId ((CommandId) 0) /* * Array indexing support |