diff options
author | Robert Haas <rhaas@postgresql.org> | 2010-04-08 01:39:37 +0000 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2010-04-08 01:39:37 +0000 |
commit | 1c850fa80727180d03bdb6a8c2f672eeda7fa818 (patch) | |
tree | 246905862626a014a449187a6a7fb82193e90db4 /src/backend/access/gist/gist.c | |
parent | 2c0870ff7ab9bda44f39dd332836d0928afb2297 (diff) | |
download | postgresql-1c850fa80727180d03bdb6a8c2f672eeda7fa818.tar.gz postgresql-1c850fa80727180d03bdb6a8c2f672eeda7fa818.zip |
Make smart shutdown work in combination with Hot Standby/Streaming Replication.
At present, killing the startup process does not release any locks it holds,
so we must wait to stop the startup and walreceiver processes until all
read-only backends have exited. Without this patch, the startup and
walreceiver processes never exit, so the server gets permanently stuck in
a half-shutdown state.
Fujii Masao, with review, docs, and comment adjustments by me.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions