Re: pgsql: Allow external recovery_config_directory - Mailing list pgsql-committers

From Magnus Hagander
Subject Re: pgsql: Allow external recovery_config_directory
Date
Msg-id CABUevEzdn-u60EUAXiPfB28NTBDF3AQuqJkzNoPrJ7QLoDe9Bg@mail.gmail.com
Whole thread Raw
In response to pgsql: Allow external recovery_config_directory  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: pgsql: Allow external recovery_config_directory
List pgsql-committers
On Wed, Mar 27, 2013 at 12:47 PM, Simon Riggs <simon@2ndquadrant.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?

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...


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Allow external recovery_config_directory
Next
From: Robert Haas
Date:
Subject: pgsql: sepgsql: Support for new post-ALTER access hook.