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 statusFlags
 
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 120 of file proc.h.

Field Documentation

◆ backendId

◆ clogGroupMember

bool PGPROC::clogGroupMember

Definition at line 226 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberLsn

XLogRecPtr PGPROC::clogGroupMemberLsn

Definition at line 233 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberPage

int PGPROC::clogGroupMemberPage

Definition at line 231 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXid

TransactionId PGPROC::clogGroupMemberXid

Definition at line 228 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXidStatus

XidStatus PGPROC::clogGroupMemberXidStatus

Definition at line 229 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupNext

pg_atomic_uint32 PGPROC::clogGroupNext

Definition at line 227 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ cvWaitLink

proclist_node PGPROC::cvWaitLink

Definition at line 174 of file proc.h.

◆ databaseId

◆ delayChkpt

◆ fpInfoLock

◆ fpLocalTransactionId

◆ fpLockBits

uint64 PGPROC::fpLockBits

Definition at line 238 of file proc.h.

◆ fpRelId

◆ fpVXIDLock

◆ heldLocks

LOCKMASK PGPROC::heldLocks

Definition at line 181 of file proc.h.

Referenced by LockAcquireExtended(), and ProcSleep().

◆ isBackgroundWorker

bool PGPROC::isBackgroundWorker

◆ links

◆ lockGroupLeader

◆ lockGroupLink

dlist_node PGPROC::lockGroupLink

Definition at line 250 of file proc.h.

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

◆ lockGroupMembers

◆ lwWaiting

◆ lwWaitLink

proclist_node PGPROC::lwWaitLink

Definition at line 171 of file proc.h.

◆ lwWaitMode

uint8 PGPROC::lwWaitMode

◆ lxid

◆ myProcLocks

◆ pgprocno

◆ pgxactoff

◆ pid

◆ procArrayGroupMember

bool PGPROC::procArrayGroupMember

Definition at line 213 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupMemberXid

TransactionId PGPROC::procArrayGroupMemberXid

Definition at line 221 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupNext

pg_atomic_uint32 PGPROC::procArrayGroupNext

Definition at line 215 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procgloballist

PGPROC** PGPROC::procgloballist

Definition at line 124 of file proc.h.

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

◆ procLatch

◆ recoveryConflictPending

◆ roleId

◆ sem

◆ statusFlags

◆ subxids

◆ subxidStatus

◆ syncRepLinks

◆ syncRepState

int PGPROC::syncRepState

Definition at line 197 of file proc.h.

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

◆ tempNamespaceId

◆ wait_event_info

◆ waitLock

◆ waitLockMode

◆ waitLSN

◆ waitProcLock

◆ waitStatus

◆ xid

◆ xmin


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