Обсуждение: pgsql: shm_mq: Repair breakage from previous commit.

Поиск
Список
Период
Сортировка

pgsql: shm_mq: Repair breakage from previous commit.

От
Robert Haas
Дата:
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a1480ec1d3bacb9acb08ec09f22bc25bc033115b

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