mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 09:31:19 +02:00
Repair breakage in VirtualXactLock.
I broke this in commit 84e3712677
. Report and
fix by Fujii Masao.
This commit is contained in:
parent
5b9102cef2
commit
e76bcaba9c
@ -3675,6 +3675,8 @@ VirtualXactLock(VirtualTransactionId vxid, bool wait)
|
|||||||
* it's no longer running anywhere.
|
* it's no longer running anywhere.
|
||||||
*/
|
*/
|
||||||
proc = BackendIdGetProc(vxid.backendId);
|
proc = BackendIdGetProc(vxid.backendId);
|
||||||
|
if (proc == NULL)
|
||||||
|
return true;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We must acquire this lock before checking the backendId and lxid
|
* We must acquire this lock before checking the backendId and lxid
|
||||||
|
Loading…
Reference in New Issue
Block a user