Fix LWLockRelease() call in unset_bdr_failover_handler()

This commit is contained in:
Ian Barwick
2018-10-08 09:36:50 +09:00
parent 40e94635b2
commit fd66d93937

View File

@@ -492,9 +492,9 @@ unset_bdr_failover_handler(PG_FUNCTION_ARGS)
LWLockAcquire(shared_state->lock, LW_EXCLUSIVE);
shared_state->bdr_failover_handler = UNKNOWN_NODE_ID;
}
LWLockRelease(shared_state->lock);
}
PG_RETURN_VOID();
}