Fix bug in the new wait-until-lwlock-is-free mechanism.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 82d4b262d9614958da38003cdc9d56915d9bcda0
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2012-01-30T22:09:30Z
Releases: 9.2.0
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

PathChange+/−
src/backend/storage/lmgr/lwlock.c modified +16 −9