Re: pgsql: Allow external recovery_config_directory

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Allow external recovery_config_directory
Date: 2013-03-27 12:02:08
Message-ID: CABUevEzdn-u60EUAXiPfB28NTBDF3AQuqJkzNoPrJ7QLoDe9Bg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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?

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/

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-03-27 12:12:13 Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Previous Message Simon Riggs 2013-03-27 11:47:17 pgsql: Allow external recovery_config_directory

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-03-27 12:12:13 Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Previous Message Simon Riggs 2013-03-27 11:48:53 Re: Feature Request: pg_replication_master()