PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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-2017, 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 /* Number of SLRU buffers to use for subtrans */
15 #define NUM_SUBTRANS_BUFFERS 32
16 
17 extern void SubTransSetParent(TransactionId xid, TransactionId parent);
20 
21 extern Size SUBTRANSShmemSize(void);
22 extern void SUBTRANSShmemInit(void);
23 extern void BootStrapSUBTRANS(void);
24 extern void StartupSUBTRANS(TransactionId oldestActiveXID);
25 extern void ShutdownSUBTRANS(void);
26 extern void CheckPointSUBTRANS(void);
27 extern void ExtendSUBTRANS(TransactionId newestXact);
28 extern void TruncateSUBTRANS(TransactionId oldestXact);
29 
30 #endif /* SUBTRANS_H */
uint32 TransactionId
Definition: c.h:391
void SUBTRANSShmemInit(void)
Definition: subtrans.c:191
TransactionId SubTransGetTopmostTransaction(TransactionId xid)
Definition: subtrans.c:150
void SubTransSetParent(TransactionId xid, TransactionId parent)
Definition: subtrans.c:74
void CheckPointSUBTRANS(void)
Definition: subtrans.c:300
TransactionId SubTransGetParent(TransactionId xid)
Definition: subtrans.c:109
void BootStrapSUBTRANS(void)
Definition: subtrans.c:212
void ExtendSUBTRANS(TransactionId newestXact)
Definition: subtrans.c:324
Size SUBTRANSShmemSize(void)
Definition: subtrans.c:185
size_t Size
Definition: c.h:350
void StartupSUBTRANS(TransactionId oldestActiveXID)
Definition: subtrans.c:250
void TruncateSUBTRANS(TransactionId oldestXact)
Definition: subtrans.c:354
void ShutdownSUBTRANS(void)
Definition: subtrans.c:283