diff options
author | Tom Lane | 2005-06-08 15:50:28 +0000 |
---|---|---|
committer | Tom Lane | 2005-06-08 15:50:28 +0000 |
commit | f5b2f60bd1084e218358adba04604147e5429233 (patch) | |
tree | 276b7d36fa97284ef5b37e53f488e6f3532b78d7 /src/include/c.h | |
parent | 593badd30b09c6bc11930d4a26ff70830a5a9092 (diff) |
Change WAL-logging scheme for multixacts to be more like regular
transaction IDs, rather than like subtrans; in particular, the information
now survives a database restart. Per previous discussion, this is
essential for PITR log shipping and for 2PC.
Diffstat (limited to 'src/include/c.h')
-rw-r--r-- | src/include/c.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index 6318c5573dd..1a920387747 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/c.h,v 1.184 2005/05/25 21:40:41 momjian Exp $ + * $PostgreSQL: pgsql/src/include/c.h,v 1.185 2005/06/08 15:50:28 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -388,6 +388,8 @@ typedef uint32 SubTransactionId; /* MultiXactId must be equivalent to TransactionId, to fit in t_xmax */ typedef TransactionId MultiXactId; +typedef uint32 MultiXactOffset; + typedef uint32 CommandId; #define FirstCommandId ((CommandId) 0) |