PostgreSQL Source Code  git master
GlobalTransactionData Struct Reference

Data Fields

GlobalTransaction next
int pgprocno
BackendId dummyBackendId
TimestampTz prepared_at
XLogRecPtr prepare_start_lsn
XLogRecPtr prepare_end_lsn
TransactionId xid
Oid owner
BackendId locking_backend
bool valid
bool ondisk
bool inredo
char gid [GIDSIZE]

Detailed Description

Definition at line 149 of file twophase.c.

Field Documentation

◆ dummyBackendId

BackendId GlobalTransactionData::dummyBackendId

Definition at line 153 of file twophase.c.

Referenced by TwoPhaseGetDummyBackendId(), and TwoPhaseShmemInit().

◆ gid

char GlobalTransactionData::gid[GIDSIZE]

◆ inredo

◆ locking_backend

BackendId GlobalTransactionData::locking_backend

◆ next

GlobalTransaction GlobalTransactionData::next

Definition at line 151 of file twophase.c.

Referenced by MarkAsPreparing(), PrepareRedoAdd(), RemoveGXact(), and TwoPhaseShmemInit().

◆ ondisk

◆ owner

Oid GlobalTransactionData::owner

◆ pgprocno

◆ prepare_end_lsn

XLogRecPtr GlobalTransactionData::prepare_end_lsn

Definition at line 164 of file twophase.c.

Referenced by CheckPointTwoPhase(), EndPrepare(), and PrepareRedoAdd().

◆ prepare_start_lsn

◆ prepared_at

TimestampTz GlobalTransactionData::prepared_at

Definition at line 154 of file twophase.c.

Referenced by MarkAsPreparingGuts(), pg_prepared_xact(), PrepareRedoAdd(), and StartPrepare().

◆ valid

◆ xid

The documentation for this struct was generated from the following file: