4 * PostgreSQL subtransaction-log manager
6 * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/access/subtrans.h
14 /* Number of SLRU buffers to use for subtrans */
15 #define NUM_SUBTRANS_BUFFERS 32
17 extern void SubTransSetParent(TransactionId xid
, TransactionId parent
);
18 extern TransactionId
SubTransGetParent(TransactionId xid
);
19 extern TransactionId
SubTransGetTopmostTransaction(TransactionId xid
);
21 extern Size
SUBTRANSShmemSize(void);
22 extern void SUBTRANSShmemInit(void);
23 extern void BootStrapSUBTRANS(void);
24 extern void StartupSUBTRANS(TransactionId oldestActiveXID
);
25 extern void CheckPointSUBTRANS(void);
26 extern void ExtendSUBTRANS(TransactionId newestXact
);
27 extern void TruncateSUBTRANS(TransactionId oldestXact
);
29 #endif /* SUBTRANS_H */