diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-03 19:42:41 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-03 19:42:41 +0000 |
commit | 126eaef651ec96a48b18a111aa888b9be46e16fa (patch) | |
tree | 99fef9389f22acac49ac47f43431a849d5639f72 /src/include | |
parent | 893b57c871b97c9324e3eea77409e487a1e22ae8 (diff) |
Clean up MultiXactIdExpand's API by separating out the case where we
are creating a new MultiXactId from two regular XIDs. The original
coding was unnecessarily complicated and didn't save any code anyway.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/access/multixact.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h index 1eafddbe832..65d19704c40 100644 --- a/src/include/access/multixact.h +++ b/src/include/access/multixact.h @@ -6,7 +6,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/multixact.h,v 1.1 2005/04/28 21:47:17 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/multixact.h,v 1.2 2005/05/03 19:42:41 tgl Exp $ */ #ifndef MULTIXACT_H #define MULTIXACT_H @@ -16,10 +16,10 @@ #define MultiXactIdIsValid(multi) ((multi) != InvalidMultiXactId) -extern void MultiXactIdWait(MultiXactId multi); -extern MultiXactId MultiXactIdExpand(MultiXactId multi, bool isMulti, - TransactionId xid); +extern MultiXactId MultiXactIdCreate(TransactionId xid1, TransactionId xid2); +extern MultiXactId MultiXactIdExpand(MultiXactId multi, TransactionId xid); extern bool MultiXactIdIsRunning(MultiXactId multi); +extern void MultiXactIdWait(MultiXactId multi); extern void MultiXactIdSetOldestMember(void); extern void AtEOXact_MultiXact(void); |