Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfdac4e2

Browse files
Correctly init fast path fields on PGPROC
1 parent44fe8ae commitfdac4e2

File tree

1 file changed

+4
-0
lines changed
  • src/backend/storage/lmgr

1 file changed

+4
-0
lines changed

‎src/backend/storage/lmgr/proc.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ InitProcess(void)
353353
SHMQueueElemInit(&(MyProc->links));
354354
MyProc->waitStatus=STATUS_OK;
355355
MyProc->lxid=InvalidLocalTransactionId;
356+
MyProc->fpVXIDLock= false;
357+
MyProc->fpLocalTransactionId=InvalidLocalTransactionId;
356358
MyPgXact->xid=InvalidTransactionId;
357359
MyPgXact->xmin=InvalidTransactionId;
358360
MyProc->pid=MyProcPid;
@@ -520,6 +522,8 @@ InitAuxiliaryProcess(void)
520522
SHMQueueElemInit(&(MyProc->links));
521523
MyProc->waitStatus=STATUS_OK;
522524
MyProc->lxid=InvalidLocalTransactionId;
525+
MyProc->fpVXIDLock= false;
526+
MyProc->fpLocalTransactionId=InvalidLocalTransactionId;
523527
MyPgXact->xid=InvalidTransactionId;
524528
MyPgXact->xmin=InvalidTransactionId;
525529
MyProc->backendId=InvalidBackendId;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp