PostgreSQL Source Code  git master
subtrans.h
Go to the documentation of this file.
1 /*
2  * subtrans.h
3  *
4  * PostgreSQL subtransaction-log manager
5  *
6  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/access/subtrans.h
10  */
11 #ifndef SUBTRANS_H
12 #define SUBTRANS_H
13 
14 extern void SubTransSetParent(TransactionId xid, TransactionId parent);
17 
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);
25 
26 #endif /* SUBTRANS_H */
uint32 TransactionId
Definition: c.h:631
size_t Size
Definition: c.h:584
void SUBTRANSShmemInit(void)
Definition: subtrans.c:220
void SubTransSetParent(TransactionId xid, TransactionId parent)
Definition: subtrans.c:85
TransactionId SubTransGetTopmostTransaction(TransactionId xid)
Definition: subtrans.c:163
void ExtendSUBTRANS(TransactionId newestXact)
Definition: subtrans.c:379
void StartupSUBTRANS(TransactionId oldestActiveXID)
Definition: subtrans.c:309
void CheckPointSUBTRANS(void)
Definition: subtrans.c:355
Size SUBTRANSShmemSize(void)
Definition: subtrans.c:214
TransactionId SubTransGetParent(TransactionId xid)
Definition: subtrans.c:122
void BootStrapSUBTRANS(void)
Definition: subtrans.c:270
void TruncateSUBTRANS(TransactionId oldestXact)
Definition: subtrans.c:411