Re: unite recovery.conf and postgresql.conf - Mailing list pgsql-hackers

From Greg Stark
Subject Re: unite recovery.conf and postgresql.conf
Date
Msg-id CAM-w4HMwKNm-UzFg8bsy9Eyfdq99W-CW04krEKB=U7h5kawPHg@mail.gmail.com
Whole thread Raw
In response to Re: unite recovery.conf and postgresql.conf  (Josh Berkus <josh@agliodbs.com>)
Responses Re: unite recovery.conf and postgresql.conf
List pgsql-hackers
On Fri, Sep 9, 2011 at 6:40 PM, Josh Berkus <josh@agliodbs.com> wrote:
> I'm in favor of this.  People are sufficiently confused by the existing
> behavior that we're not going to confuse them further by changing it.
>

Fwiw as someone who *was* confused previously, it now makes perfect
sense to me. "We have postgres.conf which always applies and then
recovery.conf which can have all the same options but they only apply
during recover". That's much clearer than "we have two configuration
files with two disjoint sets of options and good luck remembering
which options belong in which file". And it still serves a useful
purpose if you have options like recovery_target that you only want to
apply during recovery and then plan to remove.



--
greg


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Patch to improve reliability of postgresql on linux nfs
Next
From: Greg Stark
Date:
Subject: Re: fsyncing data to disk