PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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

const TwoPhaseCallback twophase_postabort_callbacks[TWOPHASE_RM_MAX_ID+1]
Initial value:
=
{
NULL,
}
void multixact_twophase_postabort(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: multixact.c:1791
void pgstat_twophase_postabort(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: pgstat.c:2251
#define NULL
Definition: c.h:226
void lock_twophase_postabort(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: lock.c:4197

Definition at line 42 of file twophase_rmgr.c.

Referenced by FinishPreparedTransaction().

const TwoPhaseCallback twophase_postcommit_callbacks[TWOPHASE_RM_MAX_ID+1]
Initial value:
=
{
NULL,
}
void lock_twophase_postcommit(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: lock.c:4171
void pgstat_twophase_postcommit(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: pgstat.c:2215
void multixact_twophase_postcommit(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: multixact.c:1776
#define NULL
Definition: c.h:226

Definition at line 33 of file twophase_rmgr.c.

Referenced by FinishPreparedTransaction().

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:3958
void predicatelock_twophase_recover(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: predicate.c:4840
#define NULL
Definition: c.h:226
void multixact_twophase_recover(TransactionId xid, uint16 info, void *recdata, uint32 len)
Definition: multixact.c:1755

Definition at line 24 of file twophase_rmgr.c.

Referenced by RecoverPreparedTransactions().

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:4139
#define NULL
Definition: c.h:226

Definition at line 51 of file twophase_rmgr.c.