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

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid starting walreceiver in states where it shouldn't be
Date: 2010-05-27 02:01:38
Message-ID: 20100527020138.0A53A7541D2@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-05-27 06:25:32 pgsql: Make it more clear that you need to release savepoint with
Previous Message Heikki Linnakangas 2010-05-27 00:38:39 pgsql: Adjust comment to reflect that we now have Hot Standby.