1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

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 commit is contained in:
Simon Riggs
2013-03-27 11:45:42 +00:00
parent f7f210b5c4
commit bc5334d867
7 changed files with 75 additions and 7 deletions

View File

@@ -330,6 +330,23 @@ include 'filename'
</listitem>
</varlistentry>
<variablelist>
<varlistentry id="guc-recovery-config-directory" xreflabel="recovery_config_directory">
<term><varname>recovery_config_directory</varname> (<type>string</type>)</term>
<indexterm>
<primary><varname>recovery_config_directory</> configuration parameter</primary>
</indexterm>
<listitem>
<para>
Specifies the directory to use for the recovery.conf file. Note
the server requires read and write permission on this directory
because the file will be renamed to recovery.done at the end of
recovery.
This parameter can only be set at server start.
</para>
</listitem>
</varlistentry>
<varlistentry id="guc-config-file" xreflabel="config_file">
<term><varname>config_file</varname> (<type>string</type>)</term>
<indexterm>