mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Repair breakage in VirtualXactLock.
I broke this in commit 84e3712677
. Report and
fix by Fujii Masao.
This commit is contained in:
@ -3675,6 +3675,8 @@ VirtualXactLock(VirtualTransactionId vxid, bool wait)
|
||||
* it's no longer running anywhere.
|
||||
*/
|
||||
proc = BackendIdGetProc(vxid.backendId);
|
||||
if (proc == NULL)
|
||||
return true;
|
||||
|
||||
/*
|
||||
* We must acquire this lock before checking the backendId and lxid
|
||||
|
Reference in New Issue
Block a user