mirror of
https://github.com/postgres/postgres.git
synced 2025-05-21 15:54:08 +03:00
Correctly init fast path fields on PGPROC
This commit is contained in:
parent
44fe8ae9f9
commit
fdac4e2ba2
@ -353,6 +353,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;
|
||||
@ -520,6 +522,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