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

Commitd3fe599

Browse files
Correctly init fast path fields on PGPROC
1 parentf1e57a4 commitd3fe599

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
@@ -341,6 +341,8 @@ InitProcess(void)
341341
SHMQueueElemInit(&(MyProc->links));
342342
MyProc->waitStatus=STATUS_OK;
343343
MyProc->lxid=InvalidLocalTransactionId;
344+
MyProc->fpVXIDLock= false;
345+
MyProc->fpLocalTransactionId=InvalidLocalTransactionId;
344346
MyPgXact->xid=InvalidTransactionId;
345347
MyPgXact->xmin=InvalidTransactionId;
346348
MyProc->pid=MyProcPid;
@@ -507,6 +509,8 @@ InitAuxiliaryProcess(void)
507509
SHMQueueElemInit(&(MyProc->links));
508510
MyProc->waitStatus=STATUS_OK;
509511
MyProc->lxid=InvalidLocalTransactionId;
512+
MyProc->fpVXIDLock= false;
513+
MyProc->fpLocalTransactionId=InvalidLocalTransactionId;
510514
MyPgXact->xid=InvalidTransactionId;
511515
MyPgXact->xmin=InvalidTransactionId;
512516
MyProc->backendId=InvalidBackendId;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp