From f5b2f60bd1084e218358adba04604147e5429233 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 8 Jun 2005 15:50:28 +0000 Subject: 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. --- src/include/c.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/c.h') 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) -- cgit v1.2.3