projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1e4f3d
)
Add archive_command example
author
Peter Eisentraut
Fri, 2 Sep 2011 22:29:09 +0000
(
01:29
+0300)
committer
Peter Eisentraut
Fri, 2 Sep 2011 22:29:09 +0000
(
01:29
+0300)
src/backend/utils/misc/postgresql.conf.sample
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/misc/postgresql.conf.sample
b/src/backend/utils/misc/postgresql.conf.sample
index 65fd1266a163d4198bbd4f2667528fd081e83414..e713defea2c8326fcb43cbbe73c328736fafdbdd 100644
(file)
--- a/
src/backend/utils/misc/postgresql.conf.sample
+++ b/
src/backend/utils/misc/postgresql.conf.sample
@@
-186,6
+186,9
@@
#archive_mode = off # allows archiving to be done
# (change requires restart)
#archive_command = '' # command to use to archive a logfile segment
+ # placeholders: %p = path of file to archive
+ # %f = file name only
+ # e.g. 'test ! -f /mnt/server/archivedir/%f && cp %p /mnt/server/archivedir/%f'
#archive_timeout = 0 # force a logfile segment switch after this
# number of seconds; 0 disables