]> granicus.if.org Git - postgresql/commit
Avoid starting walreceiver in states where it shouldn't be running.
authorRobert Haas <rhaas@postgresql.org>
Thu, 27 May 2010 02:01:37 +0000 (02:01 +0000)
committerRobert Haas <rhaas@postgresql.org>
Thu, 27 May 2010 02:01:37 +0000 (02:01 +0000)
commit5e85315ea7a4040b5faeddeebbbadb81fed234c9
tree6772bde4d1aa0f40a7a68b50c85a40a3ca49f559
parentc5bd8feac65c5189cce070b841ad02bef70f419c
Avoid starting walreceiver in states where it shouldn't be running.

In particular, it's bad to start walreceiver when in state
PM_WAIT_BACKENDS, because we have no provision to kill walreceiver
when in that state.

Fujii Masao
src/backend/postmaster/postmaster.c