Re: [COMMITTERS] pgsql: Allow external recovery_config_directory

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Date: 2013-03-27 12:59:26
Message-ID: CAB7nPqQ8s4vTvVkiJcL9Zc=DdER3v7Vwiz=1gmvsih8Kpay3zw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Mar 27, 2013 at 9:12 PM, Heikki Linnakangas <hlinnakangas(at)vmware(dot)com
> wrote:

> On 27.03.2013 13:47, Simon Riggs 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.
>>
>
> This was a surprising commit. Does this get us any closer to merging
> postgresql.conf and recovery.conf?
>
At first glance, I am not sure this goes in the right direction. Why is it
necessary to add a GUC parameter for that?
In the patch I sent based on Masao's first version, if we merge of
postgresql.conf and recovery.conf, users will be encouraged to migrate to
the new system by including recovery.conf or a file containing recovery
parameters using include_path or include_if_exists, so you shouldn't need a
new parameter to include recovery.conf. I have the feeling that this
complicates even more the settings.
Also, based on Greg's spec (that Robert and I basically agreed on), if
recovery.conf is found at the root of data folder an error is returned to
user, recommending him to migrate correctly by referring to dedicated
documentation.
--
Michael

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2013-03-27 13:02:32 Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Previous Message Robert Haas 2013-03-27 12:58:02 Re: [COMMITTERS] pgsql: sepgsql: Support for new post-ALTER access hook.

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2013-03-27 13:02:32 Re: [COMMITTERS] pgsql: Allow external recovery_config_directory
Previous Message Robert Haas 2013-03-27 12:58:02 Re: [COMMITTERS] pgsql: sepgsql: Support for new post-ALTER access hook.