Re: Parameter name standby_mode - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Parameter name standby_mode
Date
Msg-id 4B7295A5.2010304@enterprisedb.com
Whole thread Raw
In response to Parameter name standby_mode  (Joachim Wieland <joe@mcknight.de>)
Responses Re: Parameter name standby_mode
Re: Parameter name standby_mode
Re: Parameter name standby_mode
List pgsql-hackers
Joachim Wieland wrote:
> We want to teach people that Hot Standby and Streaming Replication are
> two different features.

I'm not sure about that, actually. Now that they're both in the tree,
they work nicely together and many users will think of them as one.

> However, Streaming Replication calls its main
> parameter "standby_mode" which reminds more of Hot Standby than of
> Streaming Replication.
> 
> People could also run a warm standby without streaming replication,
> which would result in a standby that has standby_mode = 'off'.

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.

If you want to use pg_standby or similar tools, then you would indeed
set standby_mode='off', but I think that makes sense because you're
implementing the standby functionality outside the server in that case.

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


pgsql-hackers by date:

Previous
From: Joachim Wieland
Date:
Subject: Parameter name standby_mode
Next
From: Federico Di Gregorio
Date:
Subject: Re: About psycopg2 (by its author)