On 27 March 2013 12:02, Magnus Hagander <magnus@hagander.net> wrote:
> 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?
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