summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane2018-01-09 17:34:46 +0000
committerTom Lane2018-01-09 17:34:57 +0000
commit80259d4dbf47d13ef4c105e06c4ea084639d9466 (patch)
tree77c0f68d629f49775cae59e3b7c17f2f08eedbea /src/backend/access/gist/gist.c
parentc3d41ccf5931a2e587d114d9886717df76459a9d (diff)
While waiting for a condition variable, detect postmaster death.
The general assumption for postmaster child processes is that they should just exit(1), reasonably promptly, if the postmaster disappears. condition_variable.c neglected this consideration and could be left waiting forever, if the counterpart process it is waiting for has done the right thing and exited. We had some discussion of adjusting the WaitEventSet API to make it harder to make this type of mistake in future; but for the moment, and for v10, let's make this narrow fix. Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions