Header And Logo

PostgreSQL
| The world's most advanced open source database.

Variables

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,                       
    lock_twophase_postabort,    
    pgstat_twophase_postabort,  
    multixact_twophase_postabort,       
    NULL                        
}

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,                       
    lock_twophase_postcommit,   
    pgstat_twophase_postcommit, 
    multixact_twophase_postcommit,      
    NULL                        
}

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,                       
    lock_twophase_recover,      
    NULL,                       
    multixact_twophase_recover, 
    predicatelock_twophase_recover      
}

Definition at line 24 of file twophase_rmgr.c.

Referenced by RecoverPreparedTransactions().

Initial value:
{
    NULL,                       
    lock_twophase_standby_recover,      
    NULL,                       
    NULL,                       
    NULL                        
}

Definition at line 51 of file twophase_rmgr.c.