Commit e76bcaba authored by Robert Haas's avatar Robert Haas

Repair breakage in VirtualXactLock.

I broke this in commit 84e37126.  Report and
fix by Fujii Masao.
parent 5b9102ce
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment