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

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

From
Heikki Linnakangas
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/82d4b262d9614958da38003cdc9d56915d9bcda0

Modified Files
--------------
src/backend/storage/lmgr/lwlock.c |   25 ++++++++++++++++---------
1 files changed, 16 insertions(+), 9 deletions(-)