PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
PGPROC Struct Reference

#include <proc.h>

Data Fields

SHM_QUEUE links
 
PGPROC ** procgloballist
 
PGSemaphore sem
 
int waitStatus
 
Latch procLatch
 
LocalTransactionId lxid
 
int pid
 
int pgprocno
 
BackendId backendId
 
Oid databaseId
 
Oid roleId
 
bool isBackgroundWorker
 
bool recoveryConflictPending
 
bool lwWaiting
 
uint8 lwWaitMode
 
proclist_node lwWaitLink
 
proclist_node cvWaitLink
 
LOCKwaitLock
 
PROCLOCKwaitProcLock
 
LOCKMODE waitLockMode
 
LOCKMASK heldLocks
 
XLogRecPtr waitLSN
 
int syncRepState
 
SHM_QUEUE syncRepLinks
 
SHM_QUEUE myProcLocks [NUM_LOCK_PARTITIONS]
 
struct XidCache subxids
 
bool procArrayGroupMember
 
pg_atomic_uint32 procArrayGroupNext
 
TransactionId procArrayGroupMemberXid
 
uint32 wait_event_info
 
bool clogGroupMember
 
pg_atomic_uint32 clogGroupNext
 
TransactionId clogGroupMemberXid
 
XidStatus clogGroupMemberXidStatus
 
int clogGroupMemberPage
 
XLogRecPtr clogGroupMemberLsn
 
LWLock backendLock
 
uint64 fpLockBits
 
Oid fpRelId [FP_LOCK_SLOTS_PER_BACKEND]
 
bool fpVXIDLock
 
LocalTransactionId fpLocalTransactionId
 
PGPROClockGroupLeader
 
dlist_head lockGroupMembers
 
dlist_node lockGroupLink
 

Detailed Description

Definition at line 95 of file proc.h.

Field Documentation

bool PGPROC::clogGroupMember

Definition at line 176 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

XLogRecPtr PGPROC::clogGroupMemberLsn

Definition at line 183 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

int PGPROC::clogGroupMemberPage

Definition at line 181 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

TransactionId PGPROC::clogGroupMemberXid

Definition at line 178 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

XidStatus PGPROC::clogGroupMemberXidStatus

Definition at line 179 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

pg_atomic_uint32 PGPROC::clogGroupNext

Definition at line 177 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

proclist_node PGPROC::cvWaitLink

Definition at line 132 of file proc.h.

uint64 PGPROC::fpLockBits

Definition at line 190 of file proc.h.

LOCKMASK PGPROC::heldLocks

Definition at line 139 of file proc.h.

Referenced by LockAcquireExtended(), and ProcSleep().

bool PGPROC::isBackgroundWorker
dlist_node PGPROC::lockGroupLink

Definition at line 202 of file proc.h.

Referenced by BecomeLockGroupLeader(), BecomeLockGroupMember(), and ProcKill().

proclist_node PGPROC::lwWaitLink

Definition at line 129 of file proc.h.

uint8 PGPROC::lwWaitMode
bool PGPROC::procArrayGroupMember

Definition at line 163 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

TransactionId PGPROC::procArrayGroupMemberXid

Definition at line 171 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

pg_atomic_uint32 PGPROC::procArrayGroupNext

Definition at line 165 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

PGPROC** PGPROC::procgloballist

Definition at line 99 of file proc.h.

Referenced by InitProcess(), InitProcGlobal(), and ProcKill().

int PGPROC::syncRepState

Definition at line 149 of file proc.h.

Referenced by InitProcess(), SyncRepCancelWait(), SyncRepWaitForLSN(), and SyncRepWakeQueue().

XLogRecPtr PGPROC::waitLSN

Definition at line 148 of file proc.h.

Referenced by InitProcess(), SyncRepQueueInsert(), SyncRepWaitForLSN(), and SyncRepWakeQueue().

int PGPROC::waitStatus

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