Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd8bff79

Browse files
committed
Fix archive_command example
The given archive_command example didn't use %p or %f, which wouldn'treally work in practice.
1 parent3fbfd40 commitd8bff79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/backup.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1252,7 +1252,7 @@ restore_command = 'gunzip < /mnt/server/archivedir/%f | pg_decompresslog - %p
12521252
<varname>archive_command</varname>, so that their
12531253
<filename>postgresql.conf</> entry looks very simple:
12541254
<programlisting>
1255-
archive_command = 'local_backup_script.sh'
1255+
archive_command = 'local_backup_script.sh "%p" "%f"'
12561256
</programlisting>
12571257
Using a separate script file is advisable any time you want to use
12581258
more than a single command in the archiving process.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp