PostgreSQL Source Code  git master
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

◆ backendId

◆ backendLock

◆ clogGroupMember

bool PGPROC::clogGroupMember

Definition at line 176 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberLsn

XLogRecPtr PGPROC::clogGroupMemberLsn

Definition at line 183 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberPage

int PGPROC::clogGroupMemberPage

Definition at line 181 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXid

TransactionId PGPROC::clogGroupMemberXid

Definition at line 178 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXidStatus

XidStatus PGPROC::clogGroupMemberXidStatus

Definition at line 179 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupNext

pg_atomic_uint32 PGPROC::clogGroupNext

Definition at line 177 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ cvWaitLink

proclist_node PGPROC::cvWaitLink

Definition at line 132 of file proc.h.

◆ databaseId

◆ fpLocalTransactionId

◆ fpLockBits

uint64 PGPROC::fpLockBits

Definition at line 190 of file proc.h.

◆ fpRelId

◆ fpVXIDLock

◆ heldLocks

LOCKMASK PGPROC::heldLocks

Definition at line 139 of file proc.h.

Referenced by LockAcquireExtended(), and ProcSleep().

◆ isBackgroundWorker

bool PGPROC::isBackgroundWorker

◆ links

◆ lockGroupLeader

◆ lockGroupLink

dlist_node PGPROC::lockGroupLink

Definition at line 202 of file proc.h.

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

◆ lockGroupMembers

◆ lwWaiting

◆ lwWaitLink

proclist_node PGPROC::lwWaitLink

Definition at line 129 of file proc.h.

◆ lwWaitMode

uint8 PGPROC::lwWaitMode

◆ lxid

◆ myProcLocks

◆ pgprocno

◆ pid

◆ procArrayGroupMember

bool PGPROC::procArrayGroupMember

Definition at line 163 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupMemberXid

TransactionId PGPROC::procArrayGroupMemberXid

Definition at line 171 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupNext

pg_atomic_uint32 PGPROC::procArrayGroupNext

Definition at line 165 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procgloballist

PGPROC** PGPROC::procgloballist

Definition at line 99 of file proc.h.

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

◆ procLatch

◆ recoveryConflictPending

◆ roleId

◆ sem

◆ subxids

◆ syncRepLinks

◆ syncRepState

int PGPROC::syncRepState

Definition at line 149 of file proc.h.

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

◆ wait_event_info

◆ waitLock

◆ waitLockMode

◆ waitLSN

◆ waitProcLock

◆ waitStatus

int PGPROC::waitStatus

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