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

Commite76bcab

Browse files
committed
Repair breakage in VirtualXactLock.
I broke this in commit84e3712. Report andfix by Fujii Masao.
1 parent5b9102c commite76bcab

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3675,6 +3675,8 @@ VirtualXactLock(VirtualTransactionId vxid, bool wait)
36753675
* it's no longer running anywhere.
36763676
*/
36773677
proc=BackendIdGetProc(vxid.backendId);
3678+
if (proc==NULL)
3679+
return true;
36783680

36793681
/*
36803682
* We must acquire this lock before checking the backendId and lxid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp