From bfab3f19e3bd75b95e419cf9ac0eb22d03669ef3 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 14 May 2009 22:22:01 +0000 Subject: [PATCH] Include recovery_end_command in recovery.conf.sample. Per suggestion of Jaime Casanova. --- src/backend/access/transam/recovery.conf.sample | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/backend/access/transam/recovery.conf.sample b/src/backend/access/transam/recovery.conf.sample index e3068d535d..1ef80ac60f 100644 --- a/src/backend/access/transam/recovery.conf.sample +++ b/src/backend/access/transam/recovery.conf.sample @@ -40,7 +40,6 @@ # NOTE that the basename of %p will be different from %f; do not # expect them to be interchangeable. # -# #restore_command = 'cp /mnt/server/archivedir/%f %p' # # @@ -48,6 +47,14 @@ # OPTIONAL PARAMETERS #--------------------------------------------------------------------------- # +# recovery_end_command +# +# specifies an optional shell command to execute at completion of recovery. +# This can be useful for cleaning up after the restore_command. +# +#recovery_end_command = '' +# +# # By default, recovery will rollforward to the end of the WAL log. # If you want to stop rollforward before that point, you # must set a recovery target.