diff --git a/src/backend/access/transam/recovery.conf.sample b/src/backend/access/transam/recovery.conf.sample
index e3068d535d6..1ef80ac60fd 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.