summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/postgresql.conf.sample
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-07-19 02:47:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-07-19 02:47:16 +0000
commit66ec2db72840e4e400d879578744420c969ed7bf (patch)
tree44aa43c732dabe83405bc3a456f5f8c43845bf7c /src/backend/utils/misc/postgresql.conf.sample
parentd0c1bbdcc61a4ac7cf005451af507ea8d0c64f54 (diff)
downloadpostgresql-66ec2db72840e4e400d879578744420c969ed7bf.tar.gz
XLOG file archiving and point-in-time recovery. There are still some
loose ends and a glaring lack of documentation, but it basically works. Simon Riggs with some editorialization by Tom Lane.
Diffstat (limited to 'src/backend/utils/misc/postgresql.conf.sample')
-rw-r--r--src/backend/utils/misc/postgresql.conf.sample10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample
index dcfbdf9242..9dc1ec8d83 100644
--- a/src/backend/utils/misc/postgresql.conf.sample
+++ b/src/backend/utils/misc/postgresql.conf.sample
@@ -111,6 +111,16 @@
#commit_delay = 0 # range 0-100000, in microseconds
#commit_siblings = 5 # range 1-1000
+# - 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.
#---------------------------------------------------------------------------
# QUERY TUNING