PostgreSQL Source Code  git master
PGPROC Struct Reference

#include <proc.h>

Data Fields

SHM_QUEUE links
 
PGPROC ** procgloballist
 
PGSemaphore sem
 
ProcWaitStatus waitStatus
 
Latch procLatch
 
TransactionId xid
 
TransactionId xmin
 
LocalTransactionId lxid
 
int pid
 
int pgxactoff
 
int pgprocno
 
BackendId backendId
 
Oid databaseId
 
Oid roleId
 
Oid tempNamespaceId
 
bool isBackgroundWorker
 
bool recoveryConflictPending
 
bool lwWaiting
 
uint8 lwWaitMode
 
proclist_node lwWaitLink
 
proclist_node cvWaitLink
 
LOCKwaitLock
 
PROCLOCKwaitProcLock
 
LOCKMODE waitLockMode
 
LOCKMASK heldLocks
 
bool delayChkpt
 
uint8 vacuumFlags
 
XLogRecPtr waitLSN
 
int syncRepState
 
SHM_QUEUE syncRepLinks
 
SHM_QUEUE myProcLocks [NUM_LOCK_PARTITIONS]
 
XidCacheStatus subxidStatus
 
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 fpInfoLock
 
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 112 of file proc.h.

Field Documentation

◆ backendId

◆ clogGroupMember

bool PGPROC::clogGroupMember

Definition at line 217 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberLsn

XLogRecPtr PGPROC::clogGroupMemberLsn

Definition at line 224 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberPage

int PGPROC::clogGroupMemberPage

Definition at line 222 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXid

TransactionId PGPROC::clogGroupMemberXid

Definition at line 219 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXidStatus

XidStatus PGPROC::clogGroupMemberXidStatus

Definition at line 220 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupNext

pg_atomic_uint32 PGPROC::clogGroupNext

Definition at line 218 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ cvWaitLink

proclist_node PGPROC::cvWaitLink

Definition at line 166 of file proc.h.

◆ databaseId

◆ delayChkpt

◆ fpInfoLock

◆ fpLocalTransactionId

◆ fpLockBits

uint64 PGPROC::fpLockBits

Definition at line 229 of file proc.h.

◆ fpRelId

◆ fpVXIDLock

◆ heldLocks

LOCKMASK PGPROC::heldLocks

Definition at line 173 of file proc.h.

Referenced by LockAcquireExtended(), and ProcSleep().

◆ isBackgroundWorker

bool PGPROC::isBackgroundWorker

◆ links

◆ lockGroupLeader

◆ lockGroupLink

dlist_node PGPROC::lockGroupLink

Definition at line 241 of file proc.h.

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

◆ lockGroupMembers

◆ lwWaiting

◆ lwWaitLink

proclist_node PGPROC::lwWaitLink

Definition at line 163 of file proc.h.

◆ lwWaitMode

uint8 PGPROC::lwWaitMode

◆ lxid

◆ myProcLocks

◆ pgprocno

◆ pgxactoff

◆ pid

◆ procArrayGroupMember

bool PGPROC::procArrayGroupMember

Definition at line 204 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupMemberXid

TransactionId PGPROC::procArrayGroupMemberXid

Definition at line 212 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupNext

pg_atomic_uint32 PGPROC::procArrayGroupNext

Definition at line 206 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procgloballist

PGPROC** PGPROC::procgloballist

Definition at line 116 of file proc.h.

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

◆ procLatch

◆ recoveryConflictPending

◆ roleId

◆ sem

◆ subxids

◆ subxidStatus

◆ syncRepLinks

◆ syncRepState

int PGPROC::syncRepState

Definition at line 188 of file proc.h.

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

◆ tempNamespaceId

◆ vacuumFlags

◆ wait_event_info

◆ waitLock

◆ waitLockMode

◆ waitLSN

◆ waitProcLock

◆ waitStatus

◆ xid

◆ xmin


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