pgsql: shm_mq: Repair breakage from previous commit. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: shm_mq: Repair breakage from previous commit.
Date
Msg-id E1ZpRm2-0008JC-FQ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
shm_mq: Repair breakage from previous commit.

If the counterparty writes some data into the queue and then detaches,
it's wrong to return SHM_MQ_DETACHED right away.  If we do that, we
fail to read whatever was written.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5eca6cf99411bfd47f43fc742552c9a2ae459bc8

Modified Files
--------------
src/backend/storage/ipc/shm_mq.c |    6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: shm_mq: Repair breakage from previous commit.
Next
From: Robert Haas
Date:
Subject: pgsql: shm_mq: Repair breakage from previous commit.