mirror of https://github.com/postgres/postgres
WakeupWaiters() is supposed to wake up all LW_WAIT_UNTIL_FREE waiters of the slot, but the loop incorrectly also woke up the first LW_EXCLUSIVE waiter, if there was no LW_WAIT_UNTIL_FREE waiters in the queue. Noted by Andres Freund. This code is new in 9.4, so no backpatching.pull/6/head
parent
6c2744f1d3
commit
d699ba4134
Loading…
Reference in new issue