Fix bug in the new wait-until-lwlock-is-free mechanism.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 30 Jan 2012 18:56:35 +0000 (20:56 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 30 Jan 2012 22:09:30 +0000 (00:09 +0200)
commit82d4b262d9614958da38003cdc9d56915d9bcda0
treeccb9a1ba24174d444884fd35f979c8fca10dd1f6
parent82e83f46a2ed311c6e7536f607f73a6f2a1d7dea
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.
src/backend/storage/lmgr/lwlock.c