summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2015-10-22 16:33:30 -0400
committerRobert Haas <rhaas@postgresql.org>2015-10-22 16:42:31 -0400
commit87abcb4ebd48f5d8f7244236f8839854c1861537 (patch)
tree89e9b95fa60820cc3645ce51d2d47ea900e62956 /doc/src
parent4f33572ee68b515dc2750e265fc0d0312c0d5d3d (diff)
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.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions