Re: pgsql: Allow external recovery_config_directory

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Allow external recovery_config_directory
Date: 2013-03-27 13:13:21
Message-ID: CA+U5nMKyQ_T43ythfBf8tLvS2Rh=dSRZaq6Z6En+pp+zr=NLqA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On 27 March 2013 12:02, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
> On Wed, Mar 27, 2013 at 12:47 PM, Simon Riggs <simon(at)2ndquadrant(dot)com> wrote:
>> Allow external recovery_config_directory
>> If required, recovery.conf can now be located outside of the data directory.
>> Server needs read/write permissions on this directory.
>
> Should we consider verifying that it has write permissions and fail
> early if not?

Sounds like a good plan. Will do.

> AFAICT, right now we fail *after* doing a bunch of things if the user
> only has readonly permissions?
>
> I'm sure a common thing will be for people to try to set this to
> /etc/postgresql or similar...

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Thom Brown 2013-03-27 13:14:07 Re: pgsql: Allow external recovery_config_directory
Previous Message Simon Riggs 2013-03-27 13:11:48 Re: [COMMITTERS] pgsql: Allow external recovery_config_directory

Browse pgsql-hackers by date

  From Date Subject
Next Message Thom Brown 2013-03-27 13:14:07 Re: pgsql: Allow external recovery_config_directory
Previous Message Robert Haas 2013-03-27 13:12:42 Re: Default connection parameters for postgres_fdw and dblink