Struct pgrx_pg_sys::PGPROC
source · #[repr(C)]pub struct PGPROC {Show 53 fields
pub links: SHM_QUEUE,
pub procgloballist: *mut *mut PGPROC,
pub sem: PGSemaphore,
pub waitStatus: ProcWaitStatus,
pub procLatch: Latch,
pub xid: TransactionId,
pub xmin: TransactionId,
pub lxid: LocalTransactionId,
pub pid: c_int,
pub pgxactoff: c_int,
pub pgprocno: c_int,
pub backendId: BackendId,
pub databaseId: Oid,
pub roleId: Oid,
pub tempNamespaceId: Oid,
pub isBackgroundWorker: bool,
pub recoveryConflictPending: bool,
pub lwWaiting: bool,
pub lwWaitMode: uint8,
pub lwWaitLink: proclist_node,
pub cvWaitLink: proclist_node,
pub waitLock: *mut LOCK,
pub waitProcLock: *mut PROCLOCK,
pub waitLockMode: LOCKMODE,
pub heldLocks: LOCKMASK,
pub waitStart: pg_atomic_uint64,
pub delayChkpt: bool,
pub statusFlags: uint8,
pub delayChkptEnd: bool,
pub waitLSN: XLogRecPtr,
pub syncRepState: c_int,
pub syncRepLinks: SHM_QUEUE,
pub myProcLocks: [SHM_QUEUE; 16],
pub subxidStatus: XidCacheStatus,
pub subxids: XidCache,
pub procArrayGroupMember: bool,
pub procArrayGroupNext: pg_atomic_uint32,
pub procArrayGroupMemberXid: TransactionId,
pub wait_event_info: uint32,
pub clogGroupMember: bool,
pub clogGroupNext: pg_atomic_uint32,
pub clogGroupMemberXid: TransactionId,
pub clogGroupMemberXidStatus: XidStatus,
pub clogGroupMemberPage: c_int,
pub clogGroupMemberLsn: XLogRecPtr,
pub fpInfoLock: LWLock,
pub fpLockBits: uint64,
pub fpRelId: [Oid; 16],
pub fpVXIDLock: bool,
pub fpLocalTransactionId: LocalTransactionId,
pub lockGroupLeader: *mut PGPROC,
pub lockGroupMembers: dlist_head,
pub lockGroupLink: dlist_node,
}
Fields§
§links: SHM_QUEUE
§procgloballist: *mut *mut PGPROC
§sem: PGSemaphore
§waitStatus: ProcWaitStatus
§procLatch: Latch
§xid: TransactionId
§xmin: TransactionId
§lxid: LocalTransactionId
§pid: c_int
§pgxactoff: c_int
§pgprocno: c_int
§backendId: BackendId
§databaseId: Oid
§roleId: Oid
§tempNamespaceId: Oid
§isBackgroundWorker: bool
§recoveryConflictPending: bool
§lwWaiting: bool
§lwWaitMode: uint8
§lwWaitLink: proclist_node
§cvWaitLink: proclist_node
§waitLock: *mut LOCK
§waitProcLock: *mut PROCLOCK
§waitLockMode: LOCKMODE
§heldLocks: LOCKMASK
§waitStart: pg_atomic_uint64
§delayChkpt: bool
§statusFlags: uint8
§delayChkptEnd: bool
§waitLSN: XLogRecPtr
§syncRepState: c_int
§syncRepLinks: SHM_QUEUE
§myProcLocks: [SHM_QUEUE; 16]
§subxidStatus: XidCacheStatus
§subxids: XidCache
§procArrayGroupMember: bool
§procArrayGroupNext: pg_atomic_uint32
§procArrayGroupMemberXid: TransactionId
§wait_event_info: uint32
§clogGroupMember: bool
§clogGroupNext: pg_atomic_uint32
§clogGroupMemberXid: TransactionId
§clogGroupMemberXidStatus: XidStatus
§clogGroupMemberPage: c_int
§clogGroupMemberLsn: XLogRecPtr
§fpInfoLock: LWLock
§fpLockBits: uint64
§fpRelId: [Oid; 16]
§fpVXIDLock: bool
§fpLocalTransactionId: LocalTransactionId
§lockGroupLeader: *mut PGPROC
§lockGroupMembers: dlist_head
§lockGroupLink: dlist_node
Trait Implementations§
impl Copy for PGPROC
Auto Trait Implementations§
impl Freeze for PGPROC
impl RefUnwindSafe for PGPROC
impl !Send for PGPROC
impl !Sync for PGPROC
impl Unpin for PGPROC
impl UnwindSafe for PGPROC
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more