diff options
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 09ccdb2fb82..28463c6ae9b 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -117,13 +117,17 @@ # - Archiving - #archive_command = '' # command to use to archive a logfile segment - +# # If archive_command is '' then archiving is disabled. Otherwise, set it -# to a command to copy a file to the proper place. A simplistic example -# is 'cp %p /mnt/server/archivedir/%f'. Any %p in the string is replaced -# by the absolute path of the file to archive, while any %f is replaced by -# the file name only. NOTE: it is important for the command to return -# zero exit status if and only if it succeeded. +# to a command to copy a file to the proper place. Any %p in the string +# is replaced by the absolute path of the file to archive, while any %f is +# replaced by the file name only. NOTE: it is important for the command to +# return zero exit status only if it succeeds. +# +# Examples: +# archive_command = 'cp "%p" /mnt/server/archivedir/"%f"' +# archive_command = 'copy "%p" /mnt/server/archivedir/"%f"' # Win32 + #--------------------------------------------------------------------------- # QUERY TUNING |