From 126eaef651ec96a48b18a111aa888b9be46e16fa Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 3 May 2005 19:42:41 +0000 Subject: 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. --- src/include/access/multixact.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include/access/multixact.h') diff --git a/src/include/access/multixact.h b/src/include/access/multixact.h index 1eafddbe83..65d19704c4 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); -- cgit v1.2.1