Thread: pgsql: Avoid starting walreceiver in states where it shouldn't be

pgsql: Avoid starting walreceiver in states where it shouldn't be

From
rhaas@postgresql.org (Robert Haas)
Date:
Log Message:
-----------
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

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        postmaster.c (r1.609 -> r1.610)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.609&r2=1.610)