summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_control.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-06-08 15:50:28 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-06-08 15:50:28 +0000
commitf5b2f60bd1084e218358adba04604147e5429233 (patch)
tree276b7d36fa97284ef5b37e53f488e6f3532b78d7 /src/include/catalog/pg_control.h
parent593badd30b09c6bc11930d4a26ff70830a5a9092 (diff)
downloadpostgresql-f5b2f60bd1084e218358adba04604147e5429233.tar.gz
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/catalog/pg_control.h')
-rw-r--r--src/include/catalog/pg_control.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/catalog/pg_control.h b/src/include/catalog/pg_control.h
index 3f96b6bf26..73f32b55ad 100644
--- a/src/include/catalog/pg_control.h
+++ b/src/include/catalog/pg_control.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/catalog/pg_control.h,v 1.22 2005/06/02 05:55:29 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/catalog/pg_control.h,v 1.23 2005/06/08 15:50:28 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,7 +22,7 @@
/* Version identifier for this pg_control format */
-#define PG_CONTROL_VERSION 810
+#define PG_CONTROL_VERSION 811
/*
* Body of CheckPoint XLOG records. This is declared here because we keep
@@ -40,13 +40,13 @@ typedef struct CheckPoint
TransactionId nextXid; /* next free XID */
Oid nextOid; /* next free OID */
MultiXactId nextMulti; /* next free MultiXactId */
+ MultiXactOffset nextMultiOffset; /* next free MultiXact offset */
time_t time; /* time stamp of checkpoint */
} CheckPoint;
/* XLOG info values for XLOG rmgr */
#define XLOG_CHECKPOINT_SHUTDOWN 0x00
#define XLOG_CHECKPOINT_ONLINE 0x10
-#define XLOG_NEXTMULTI 0x20
#define XLOG_NEXTOID 0x30