mirror of
https://github.com/postgres/postgres.git
synced 2025-06-02 00:01:40 -04:00
Correctly init fast path fields on PGPROC
This commit is contained in:
parent
f1e57a4ec9
commit
d3fe59939c
@ -341,6 +341,8 @@ InitProcess(void)
|
||||
SHMQueueElemInit(&(MyProc->links));
|
||||
MyProc->waitStatus = STATUS_OK;
|
||||
MyProc->lxid = InvalidLocalTransactionId;
|
||||
MyProc->fpVXIDLock = false;
|
||||
MyProc->fpLocalTransactionId = InvalidLocalTransactionId;
|
||||
MyPgXact->xid = InvalidTransactionId;
|
||||
MyPgXact->xmin = InvalidTransactionId;
|
||||
MyProc->pid = MyProcPid;
|
||||
@ -507,6 +509,8 @@ InitAuxiliaryProcess(void)
|
||||
SHMQueueElemInit(&(MyProc->links));
|
||||
MyProc->waitStatus = STATUS_OK;
|
||||
MyProc->lxid = InvalidLocalTransactionId;
|
||||
MyProc->fpVXIDLock = false;
|
||||
MyProc->fpLocalTransactionId = InvalidLocalTransactionId;
|
||||
MyPgXact->xid = InvalidTransactionId;
|
||||
MyPgXact->xmin = InvalidTransactionId;
|
||||
MyProc->backendId = InvalidBackendId;
|
||||
|
Loading…
x
Reference in New Issue
Block a user