Re: Parameter name standby_mode - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Parameter name standby_mode
Date
Msg-id 4B74F2F6.6010000@enterprisedb.com
Whole thread Raw
In response to Re: Parameter name standby_mode  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Parameter name standby_mode
List pgsql-hackers
Fujii Masao wrote:
> On Wed, Feb 10, 2010 at 8:16 PM, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
>> If they want to implement the warm standby using the (new) built-in
>> logic to keep retrying restore_command, they would set
>> standby_mode='on'. standby_mode='on' doesn't imply streaming replication.
> 
> But if we fail in restoring the archived WAL file, "standby_mode = on"
> *always* tries to start streaming replication.

Hmm, somehow I thought it doesn't if you don't set primary_conninfo. I
think that's the way it should work, ie. if primary_conninfo is not set,
don't launch walreceiver but just keep trying to restore from the archive.

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Make standby server continuously retry restoring the next WAL
Next
From: Fujii Masao
Date:
Subject: Re: Parameter name standby_mode