Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ba2fc7eb
Commit
ba2fc7eb
authored
Aug 20, 2005
by
Tatsuo Ishii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make GetMultiXactIdMembers() a public function.
parent
bc3991c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/backend/access/transam/multixact.c
src/backend/access/transam/multixact.c
+2
-3
src/include/access/multixact.h
src/include/access/multixact.h
+2
-1
No files found.
src/backend/access/transam/multixact.c
View file @
ba2fc7eb
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/backend/access/transam/multixact.c,v 1.
6 2005/08/01 20:31:06 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/access/transam/multixact.c,v 1.
7 2005/08/20 01:29:27 ishii
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -200,7 +200,6 @@ static MemoryContext MXactContext = NULL;
...
@@ -200,7 +200,6 @@ static MemoryContext MXactContext = NULL;
/* internal MultiXactId management */
/* internal MultiXactId management */
static
void
MultiXactIdSetOldestVisible
(
void
);
static
void
MultiXactIdSetOldestVisible
(
void
);
static
MultiXactId
CreateMultiXactId
(
int
nxids
,
TransactionId
*
xids
);
static
MultiXactId
CreateMultiXactId
(
int
nxids
,
TransactionId
*
xids
);
static
int
GetMultiXactIdMembers
(
MultiXactId
multi
,
TransactionId
**
xids
);
static
void
RecordNewMultiXact
(
MultiXactId
multi
,
MultiXactOffset
offset
,
static
void
RecordNewMultiXact
(
MultiXactId
multi
,
MultiXactOffset
offset
,
int
nxids
,
TransactionId
*
xids
);
int
nxids
,
TransactionId
*
xids
);
static
MultiXactId
GetNewMultiXactId
(
int
nxids
,
MultiXactOffset
*
offset
);
static
MultiXactId
GetNewMultiXactId
(
int
nxids
,
MultiXactOffset
*
offset
);
...
@@ -816,7 +815,7 @@ GetNewMultiXactId(int nxids, MultiXactOffset *offset)
...
@@ -816,7 +815,7 @@ GetNewMultiXactId(int nxids, MultiXactOffset *offset)
* still running; in that case we have not actually looked them up, and
* still running; in that case we have not actually looked them up, and
* *xids is not set.
* *xids is not set.
*/
*/
static
int
int
GetMultiXactIdMembers
(
MultiXactId
multi
,
TransactionId
**
xids
)
GetMultiXactIdMembers
(
MultiXactId
multi
,
TransactionId
**
xids
)
{
{
int
pageno
;
int
pageno
;
...
...
src/include/access/multixact.h
View file @
ba2fc7eb
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/include/access/multixact.h,v 1.
4 2005/08/01 20:31:13 tgl
Exp $
* $PostgreSQL: pgsql/src/include/access/multixact.h,v 1.
5 2005/08/20 01:29:16 ishii
Exp $
*/
*/
#ifndef MULTIXACT_H
#ifndef MULTIXACT_H
#define MULTIXACT_H
#define MULTIXACT_H
...
@@ -44,6 +44,7 @@ extern bool MultiXactIdIsRunning(MultiXactId multi);
...
@@ -44,6 +44,7 @@ extern bool MultiXactIdIsRunning(MultiXactId multi);
extern
void
MultiXactIdWait
(
MultiXactId
multi
);
extern
void
MultiXactIdWait
(
MultiXactId
multi
);
extern
bool
ConditionalMultiXactIdWait
(
MultiXactId
multi
);
extern
bool
ConditionalMultiXactIdWait
(
MultiXactId
multi
);
extern
void
MultiXactIdSetOldestMember
(
void
);
extern
void
MultiXactIdSetOldestMember
(
void
);
extern
int
GetMultiXactIdMembers
(
MultiXactId
multi
,
TransactionId
**
xids
);
extern
void
AtEOXact_MultiXact
(
void
);
extern
void
AtEOXact_MultiXact
(
void
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment