Re: unite recovery.conf and postgresql.conf

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: unite recovery.conf and postgresql.conf
Date: 2011-12-15 01:56:10
Message-ID: 4EE953BA.7000403@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg,

> Put the stuff you used to insert into recovery.conf into postgresql.conf
> instead. If you don't like that, use another file and include it with
> one of the multiple options for that--same migration option I already
> suggested. Run "pg_ctl recovery"; under the hood that's actually
> creating standby.enabled instead of recovery.conf, but you don't have to
> know that. You'd suggested renaming it to reflect its most common usage
> now, and I thought that was quite sensible. It helps with the "things
> have changed, please drive carefully" feel too.

So for streaming replication, will I need to have a standby.enabled
file, or will there be a parameter in postgresql.conf (or included
files) which controls whether or not that server is a standby, available?

In the best of all possible worlds, I'd really like to have a GUC which
100% controls whether or not the current server is a standby.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2011-12-15 02:30:31 Re: WIP: Collecting statistics on CSV file data
Previous Message Greg Smith 2011-12-14 23:53:45 Re: unite recovery.conf and postgresql.conf