Add new option pg_restore_command.

This can be used so that repmgr standby clone adds the string
specified in repmgr.conf as a restore_command in recovery.conf.

We can use this option for integration with barman by setting the
parameter to an appropriate get-wal call.
This commit is contained in:
Martin
2016-05-17 15:19:20 -03:00
parent c30609426a
commit cf46834041
4 changed files with 20 additions and 2 deletions

View File

@@ -113,6 +113,10 @@
#
# tablespace_mapping=/path/to/original/tablespace=/path/to/new/tablespace
# You can specify a restore_command to be used in the recovery.conf that
# will be placed in the cloned standby
#
# pg_resore_command = cp /path/to/archived/wals/%f %p
# Failover settings (repmgrd)
# ---------------------------