|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Functions | |
| void | SubTransSetParent (TransactionId xid, TransactionId parent) |
| TransactionId | SubTransGetParent (TransactionId xid) |
| TransactionId | SubTransGetTopmostTransaction (TransactionId xid) |
| void | BootStrapSUBTRANS (void) |
| void | StartupSUBTRANS (TransactionId oldestActiveXID) |
| void | CheckPointSUBTRANS (void) |
| void | ExtendSUBTRANS (TransactionId newestXact) |
| void | TruncateSUBTRANS (TransactionId oldestXact) |
Definition at line 288 of file subtrans.c.
References SimpleLruZeroAndWritePage(), and SubTransCtl.
Referenced by BootStrapXLOG().
Definition at line 348 of file subtrans.c.
References fb(), SimpleLruWriteAll(), and SubTransCtl.
Referenced by CheckPointGuts().
|
extern |
Definition at line 372 of file subtrans.c.
References fb(), FirstNormalTransactionId, LW_EXCLUSIVE, LWLockAcquire(), LWLockRelease(), SimpleLruGetBankLock(), SimpleLruZeroPage(), SubTransCtl, TransactionIdEquals, TransactionIdToEntry, and TransactionIdToPage().
Referenced by GetNewTransactionId(), ProcArrayApplyRecoveryInfo(), and RecordKnownAssignedTransactionIds().
|
extern |
Definition at line 302 of file subtrans.c.
References fb(), LW_EXCLUSIVE, LWLockAcquire(), LWLockRelease(), MaxTransactionId, TransamVariablesData::nextXid, SimpleLruGetBankLock(), SimpleLruZeroPage(), SubTransCtl, TransactionIdToPage(), TransamVariables, and XidFromFullTransactionId.
Referenced by StartupXLOG().
|
extern |
Definition at line 129 of file subtrans.c.
References Assert, fb(), InvalidTransactionId, LWLockRelease(), SimpleLruGetBankLock(), SimpleLruReadPage_ReadOnly(), SubTransCtl, TransactionIdFollowsOrEquals(), TransactionIdIsNormal, TransactionIdToEntry, TransactionIdToPage(), and TransactionXmin.
Referenced by SubTransGetTopmostTransaction(), TransactionIdDidAbort(), and TransactionIdDidCommit().
|
extern |
Definition at line 170 of file subtrans.c.
References Assert, elog, ERROR, fb(), SubTransGetParent(), TransactionIdFollowsOrEquals(), TransactionIdIsValid, TransactionIdPrecedes(), and TransactionXmin.
Referenced by ConditionalXactLockTableWait(), HeapCheckForSerializableConflictOut(), TransactionIdIsInProgress(), XactLockTableWait(), and XidInMVCCSnapshot().
|
extern |
Definition at line 92 of file subtrans.c.
References Assert, fb(), InvalidTransactionId, LW_EXCLUSIVE, LWLockAcquire(), LWLockRelease(), SimpleLruGetBankLock(), SimpleLruReadPage(), SubTransCtl, TransactionIdFollows(), TransactionIdIsValid, TransactionIdToEntry, and TransactionIdToPage().
Referenced by AssignTransactionId(), ProcArrayApplyXidAssignment(), and ProcessTwoPhaseBuffer().
|
extern |
Definition at line 404 of file subtrans.c.
References fb(), SimpleLruTruncate(), SubTransCtl, TransactionIdRetreat, and TransactionIdToPage().
Referenced by CreateCheckPoint(), and CreateRestartPoint().