Fix possible crash in pg_dump with identity sequences.
[pgsql.git] / src / include / access / subtrans.h
blobe2213cf3fd2efcb0c91f9fe05ee6027a05b5a07f
1 /*
2 * subtrans.h
4 * PostgreSQL subtransaction-log manager
6 * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/access/subtrans.h
11 #ifndef SUBTRANS_H
12 #define SUBTRANS_H
14 extern void SubTransSetParent(TransactionId xid, TransactionId parent);
15 extern TransactionId SubTransGetParent(TransactionId xid);
16 extern TransactionId SubTransGetTopmostTransaction(TransactionId xid);
18 extern Size SUBTRANSShmemSize(void);
19 extern void SUBTRANSShmemInit(void);
20 extern void BootStrapSUBTRANS(void);
21 extern void StartupSUBTRANS(TransactionId oldestActiveXID);
22 extern void CheckPointSUBTRANS(void);
23 extern void ExtendSUBTRANS(TransactionId newestXact);
24 extern void TruncateSUBTRANS(TransactionId oldestXact);
26 #endif /* SUBTRANS_H */