Fix bug in the new wait-until-lwlock-is-free mechanism.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Fix bug in the new wait-until-lwlock-is-free mechanism. If there was a wait-until-free process in the head of the wait queue, followed by an exclusive locker, the exclusive locker was not be woken up as it should.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/lmgr/lwlock.c | modified | +16 −9 |