diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-08 15:50:28 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-08 15:50:28 +0000 |
| commit | f5b2f60bd1084e218358adba04604147e5429233 (patch) | |
| tree | 276b7d36fa97284ef5b37e53f488e6f3532b78d7 /src/include/access/htup.h | |
| parent | 593badd30b09c6bc11930d4a26ff70830a5a9092 (diff) | |
| download | postgresql-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/access/htup.h')
| -rw-r--r-- | src/include/access/htup.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/access/htup.h b/src/include/access/htup.h index adeb05fd56..e394afd313 100644 --- a/src/include/access/htup.h +++ b/src/include/access/htup.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.74 2005/04/28 21:47:17 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/htup.h,v 1.75 2005/06/08 15:50:27 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -505,6 +505,8 @@ typedef struct xl_heap_newpage typedef struct xl_heap_lock { xl_heaptid target; /* locked tuple id */ + TransactionId locking_xid; /* might be a MultiXactId not xid */ + bool xid_is_mxact; /* is it? */ bool shared_lock; /* shared or exclusive row lock? */ } xl_heap_lock; |
