Skip to content

Commit ba2fc7e

Browse files
committed
Make GetMultiXactIdMembers() a public function.
1 parent bc3991c commit ba2fc7e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/backend/access/transam/multixact.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
4343
* Portions Copyright (c) 1994, Regents of the University of California
4444
*
45-
* $PostgreSQL: pgsql/src/backend/access/transam/multixact.c,v 1.6 2005/08/01 20:31:06 tgl Exp $
45+
* $PostgreSQL: pgsql/src/backend/access/transam/multixact.c,v 1.7 2005/08/20 01:29:27 ishii Exp $
4646
*
4747
*-------------------------------------------------------------------------
4848
*/
@@ -200,7 +200,6 @@ static MemoryContext MXactContext = NULL;
200200
/* internal MultiXactId management */
201201
static void MultiXactIdSetOldestVisible(void);
202202
static MultiXactId CreateMultiXactId(int nxids, TransactionId *xids);
203-
static int GetMultiXactIdMembers(MultiXactId multi, TransactionId **xids);
204203
static void RecordNewMultiXact(MultiXactId multi, MultiXactOffset offset,
205204
int nxids, TransactionId *xids);
206205
static MultiXactId GetNewMultiXactId(int nxids, MultiXactOffset *offset);
@@ -816,7 +815,7 @@ GetNewMultiXactId(int nxids, MultiXactOffset *offset)
816815
* still running; in that case we have not actually looked them up, and
817816
* *xids is not set.
818817
*/
819-
static int
818+
int
820819
GetMultiXactIdMembers(MultiXactId multi, TransactionId **xids)
821820
{
822821
int pageno;

src/include/access/multixact.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/access/multixact.h,v 1.4 2005/08/01 20:31:13 tgl Exp $
9+
* $PostgreSQL: pgsql/src/include/access/multixact.h,v 1.5 2005/08/20 01:29:16 ishii Exp $
1010
*/
1111
#ifndef MULTIXACT_H
1212
#define MULTIXACT_H
@@ -44,6 +44,7 @@ extern bool MultiXactIdIsRunning(MultiXactId multi);
4444
extern void MultiXactIdWait(MultiXactId multi);
4545
extern bool ConditionalMultiXactIdWait(MultiXactId multi);
4646
extern void MultiXactIdSetOldestMember(void);
47+
extern int GetMultiXactIdMembers(MultiXactId multi, TransactionId **xids);
4748

4849
extern void AtEOXact_MultiXact(void);
4950

0 commit comments

Comments
 (0)