aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs_new.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2010-04-08 01:39:37 +0000
committerRobert Haas <rhaas@postgresql.org>2010-04-08 01:39:37 +0000
commit1c850fa80727180d03bdb6a8c2f672eeda7fa818 (patch)
tree246905862626a014a449187a6a7fb82193e90db4 /src/tutorial/funcs_new.c
parent2c0870ff7ab9bda44f39dd332836d0928afb2297 (diff)
downloadpostgresql-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/tutorial/funcs_new.c')
0 files changed, 0 insertions, 0 deletions