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

From Heikki Linnakangas
Subject pgsql: Fix bug in the new wait-until-lwlock-is-free mechanism.
Date
Msg-id E1RrzWg-0003NQ-Kv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Use abort() instead of exit() to abort library functions
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Print function signature, not just name, in PL/pgSQL error messa