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

Commit8d7af89

Browse files
committed
Properly document archive/restore command examples on Windows.
ITAGAKI Takahiro
1 parent25c9de4 commit8d7af89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎doc/src/sgml/backup.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.119 2008/06/23 22:15:17 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.120 2008/07/18 17:33:17 momjian Exp $ -->
22

33
<chapter id="backup">
44
<title>Backup and Restore</title>
@@ -1122,7 +1122,7 @@ restore_command = 'cp /mnt/server/archivedir/%f %p'
11221122
when so asked. Examples:
11231123
<programlisting>
11241124
restore_command = 'cp /mnt/server/archivedir/%f "%p"'
1125-
restore_command = 'copy/mnt/server/archivedir/%f "%p"' # Windows
1125+
restore_command = 'copy"C:\\server\\archivedir\\%f" "%p"' # Windows
11261126
</programlisting>
11271127
</para>
11281128
</listitem>

‎doc/src/sgml/config.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.183 2008/07/10 22:08:17tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.184 2008/07/18 17:33:17momjian Exp $ -->
22

33
<chapter Id="runtime-config">
44
<title>Server Configuration</title>
@@ -1698,7 +1698,7 @@ SET ENABLE_SEQSCAN TO OFF;
16981698
and only if it succeeds. Examples:
16991699
<programlisting>
17001700
archive_command = 'cp "%p" /mnt/server/archivedir/"%f"'
1701-
archive_command = 'copy "%p"/mnt/server/archivedir/"%f"' # Windows
1701+
archive_command = 'copy "%p""C:\\server\\archivedir\\%f"' # Windows
17021702
</programlisting>
17031703
</para>
17041704
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp