Skip to content

Commit e76bcab

Browse files
committed
Repair breakage in VirtualXactLock.
I broke this in commit 84e3712. Report and fix by Fujii Masao.
1 parent 5b9102c commit e76bcab

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy