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

#include <proc.h>

Data Fields

dlist_node links
 
dlist_headprocgloballist
 
PGSemaphore sem
 
ProcWaitStatus waitStatus
 
Latch procLatch
 
TransactionId xid
 
TransactionId xmin
 
int pid
 
int pgxactoff
 
struct {
   ProcNumber   procNumber
 
   LocalTransactionId   lxid
 
vxid
 
Oid databaseId
 
Oid roleId
 
Oid tempNamespaceId
 
bool isRegularBackend
 
bool recoveryConflictPending
 
uint8 lwWaiting
 
uint8 lwWaitMode
 
proclist_node lwWaitLink
 
proclist_node cvWaitLink
 
LOCKwaitLock
 
PROCLOCKwaitProcLock
 
LOCKMODE waitLockMode
 
LOCKMASK heldLocks
 
pg_atomic_uint64 waitStart
 
int delayChkptFlags
 
uint8 statusFlags
 
XLogRecPtr waitLSN
 
int syncRepState
 
dlist_node syncRepLinks
 
dlist_head 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
 
int64 clogGroupMemberPage
 
XLogRecPtr clogGroupMemberLsn
 
LWLock fpInfoLock
 
uint64fpLockBits
 
OidfpRelId
 
bool fpVXIDLock
 
LocalTransactionId fpLocalTransactionId
 
PGPROClockGroupLeader
 
dlist_head lockGroupMembers
 
dlist_node lockGroupLink
 

Detailed Description

Definition at line 161 of file proc.h.

Field Documentation

◆ clogGroupMember

bool PGPROC::clogGroupMember

Definition at line 282 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberLsn

XLogRecPtr PGPROC::clogGroupMemberLsn

Definition at line 289 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberPage

int64 PGPROC::clogGroupMemberPage

Definition at line 287 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXid

TransactionId PGPROC::clogGroupMemberXid

Definition at line 284 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupMemberXidStatus

XidStatus PGPROC::clogGroupMemberXidStatus

Definition at line 285 of file proc.h.

Referenced by InitProcess(), and TransactionGroupUpdateXidStatus().

◆ clogGroupNext

pg_atomic_uint32 PGPROC::clogGroupNext

Definition at line 283 of file proc.h.

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

◆ cvWaitLink

proclist_node PGPROC::cvWaitLink

Definition at line 228 of file proc.h.

◆ databaseId

◆ delayChkptFlags

◆ fpInfoLock

◆ fpLocalTransactionId

◆ fpLockBits

uint64* PGPROC::fpLockBits

Definition at line 294 of file proc.h.

Referenced by GetLockStatusData(), and InitProcGlobal().

◆ fpRelId

◆ fpVXIDLock

◆ heldLocks

LOCKMASK PGPROC::heldLocks

Definition at line 235 of file proc.h.

Referenced by JoinWaitQueue().

◆ isRegularBackend

bool PGPROC::isRegularBackend

◆ links

◆ lockGroupLeader

◆ lockGroupLink

dlist_node PGPROC::lockGroupLink

Definition at line 306 of file proc.h.

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

◆ lockGroupMembers

◆ lwWaiting

◆ lwWaitLink

proclist_node PGPROC::lwWaitLink

Definition at line 225 of file proc.h.

◆ lwWaitMode

uint8 PGPROC::lwWaitMode

◆ lxid

◆ myProcLocks

◆ pgxactoff

◆ pid

◆ procArrayGroupMember

bool PGPROC::procArrayGroupMember

Definition at line 269 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupMemberXid

TransactionId PGPROC::procArrayGroupMemberXid

Definition at line 277 of file proc.h.

Referenced by InitProcess(), and ProcArrayGroupClearXid().

◆ procArrayGroupNext

pg_atomic_uint32 PGPROC::procArrayGroupNext

Definition at line 271 of file proc.h.

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

◆ procgloballist

dlist_head* PGPROC::procgloballist

Definition at line 164 of file proc.h.

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

◆ procLatch

◆ procNumber

◆ recoveryConflictPending

◆ roleId

◆ sem

◆ statusFlags

◆ subxids

◆ subxidStatus

◆ syncRepLinks

◆ syncRepState

int PGPROC::syncRepState

Definition at line 253 of file proc.h.

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

◆ tempNamespaceId

◆ 

◆ wait_event_info

◆ waitLock

◆ waitLockMode

◆ waitLSN

XLogRecPtr PGPROC::waitLSN

Definition at line 252 of file proc.h.

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

◆ waitProcLock

◆ waitStart

◆ waitStatus

◆ xid

◆ xmin


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