PostgreSQL Source Code  git master
twophase_rmgr.c File Reference
#include "postgres.h"
#include "access/multixact.h"
#include "access/twophase_rmgr.h"
#include "pgstat.h"
#include "storage/lock.h"
#include "storage/predicate.h"
Include dependency graph for twophase_rmgr.c:

Go to the source code of this file.

Variables

const TwoPhaseCallback twophase_recover_callbacks [TWOPHASE_RM_MAX_ID+1]
 
const TwoPhaseCallback twophase_postcommit_callbacks [TWOPHASE_RM_MAX_ID+1]
 
const TwoPhaseCallback twophase_postabort_callbacks [TWOPHASE_RM_MAX_ID+1]
 
const TwoPhaseCallback twophase_standby_recover_callbacks [TWOPHASE_RM_MAX_ID+1]
 

Variable Documentation

◆ twophase_postabort_callbacks

const TwoPhaseCallback twophase_postabort_callbacks[TWOPHASE_RM_MAX_ID+1]
Initial value:
=
{
NULL,
NULL
}
void lock_twophase_postabort(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: lock.c:4495
void multixact_twophase_postabort(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: multixact.c:1935
void pgstat_twophase_postabort(TransactionId xid, uint16 info, void *recdata, uint32 len)

Definition at line 42 of file twophase_rmgr.c.

Referenced by FinishPreparedTransaction().

◆ twophase_postcommit_callbacks

const TwoPhaseCallback twophase_postcommit_callbacks[TWOPHASE_RM_MAX_ID+1]
Initial value:
=
{
NULL,
NULL
}
void lock_twophase_postcommit(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: lock.c:4469
void multixact_twophase_postcommit(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: multixact.c:1920
void pgstat_twophase_postcommit(TransactionId xid, uint16 info, void *recdata, uint32 len)

Definition at line 33 of file twophase_rmgr.c.

Referenced by FinishPreparedTransaction().

◆ twophase_recover_callbacks

const TwoPhaseCallback twophase_recover_callbacks[TWOPHASE_RM_MAX_ID+1]
Initial value:
=
{
NULL,
NULL,
}
void lock_twophase_recover(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: lock.c:4256
void multixact_twophase_recover(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: multixact.c:1899
void predicatelock_twophase_recover(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: predicate.c:4894

Definition at line 24 of file twophase_rmgr.c.

Referenced by RecoverPreparedTransactions().

◆ twophase_standby_recover_callbacks

const TwoPhaseCallback twophase_standby_recover_callbacks[TWOPHASE_RM_MAX_ID+1]
Initial value:
=
{
NULL,
NULL,
NULL,
NULL
}
void lock_twophase_standby_recover(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: lock.c:4437

Definition at line 51 of file twophase_rmgr.c.