postgresql/src/backend/storage
Robert Haas b2ccb5f4e6 shm_mq: Fix failure to notice a dead counterparty when nowait is used.
The shm_mq mechanism was intended to optionally notice when the process
on the other end of the queue fails to attach to the queue.  It does
this by allowing the user to pass a BackgroundWorkerHandle; if the
background worker in question is launched and dies without attaching
to the queue, then we know it never will.  This logic works OK in
blocking mode, but when called with nowait = true we fail to notice
that this has happened due to an asymmetry in the logic.  Repair.

Reported off-list by Rushabh Lathia.  Patch by me.
2015-10-22 16:33:30 -04:00
..
buffer Allow per-tablespace effective_io_concurrency 2015-09-08 12:51:42 -03:00
file Remove special cases for ETXTBSY from new fsync'ing logic. 2015-05-29 15:11:36 -04:00
freespace Update copyright for 2015 2015-01-06 11:43:47 -05:00
ipc shm_mq: Fix failure to notice a dead counterparty when nowait is used. 2015-10-22 16:33:30 -04:00
large_object Use FLEXIBLE_ARRAY_MEMBER in struct varlena. 2015-02-20 16:51:53 -05:00
lmgr Remove volatile qualifiers from proc.c and procarray.c 2015-10-16 14:20:36 -04:00
page pgindent run for 9.5 2015-05-23 21:35:49 -04:00
smgr pgindent run for 9.5 2015-05-23 21:35:49 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00