mirror of
https://github.com/postgres/postgres.git
synced 2025-05-28 05:21:27 +03:00
Mark CatalogSnapshotData static
Like CurrentSnapshotData, it should not be accessed directly outside snapmgr.c.
This commit is contained in:
parent
d5a7bd5670
commit
1f81b48a9d
@ -80,7 +80,7 @@
|
||||
*/
|
||||
static SnapshotData CurrentSnapshotData = {SNAPSHOT_MVCC};
|
||||
static SnapshotData SecondarySnapshotData = {SNAPSHOT_MVCC};
|
||||
SnapshotData CatalogSnapshotData = {SNAPSHOT_MVCC};
|
||||
static SnapshotData CatalogSnapshotData = {SNAPSHOT_MVCC};
|
||||
SnapshotData SnapshotSelfData = {SNAPSHOT_SELF};
|
||||
SnapshotData SnapshotAnyData = {SNAPSHOT_ANY};
|
||||
SnapshotData SnapshotToastData = {SNAPSHOT_TOAST};
|
||||
|
@ -28,7 +28,6 @@ extern PGDLLIMPORT TransactionId RecentXmin;
|
||||
extern PGDLLIMPORT SnapshotData SnapshotSelfData;
|
||||
extern PGDLLIMPORT SnapshotData SnapshotAnyData;
|
||||
extern PGDLLIMPORT SnapshotData SnapshotToastData;
|
||||
extern PGDLLIMPORT SnapshotData CatalogSnapshotData;
|
||||
|
||||
#define SnapshotSelf (&SnapshotSelfData)
|
||||
#define SnapshotAny (&SnapshotAnyData)
|
||||
|
Loading…
x
Reference in New Issue
Block a user