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

Commit5aec7e0

Browse files
doc: Adjust some notes about pg_upgrade's file transfer modes.
--copy-file-range and --swap were not mentioned in a few placesthat discuss the available file transfer modes. This entire pagewould likely benefit from an overhaul, but that's v19 material atthis point.Oversights in commitsd93627b and626d723.
1 parent00066aa commit5aec7e0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

‎doc/src/sgml/ref/pgupgrade.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ NET STOP postgresql-&majorversion;
540540
Always run the <application>pg_upgrade</application> binary of the new server, not the old one.
541541
<application>pg_upgrade</application> requires the specification of the old and new cluster's
542542
data and executable (<filename>bin</filename>) directories. You can also specify
543-
user and port values, and whether you want the data files linkedorcloned
543+
user and port values, and whether you want the data files linked, cloned,orswapped
544544
instead of the default copy behavior.
545545
</para>
546546

@@ -589,8 +589,9 @@ pg_upgrade.exe
589589
to perform only the checks, even if the old server is still
590590
running. <command>pg_upgrade --check</command> will also outline any
591591
manual adjustments you will need to make after the upgrade. If you
592-
are going to be using link or clone mode, you should use the option
593-
<option>--link</option> or <option>--clone</option> with
592+
are going to be using link, clone, copy-file-range, or swap mode, you
593+
should use the option <option>--link</option>, <option>--clone</option>,
594+
<option>--copy-file-range</option>, or <option>--swap</option> with
594595
<option>--check</option> to enable mode-specific checks.
595596
<command>pg_upgrade</command> requires write permission in the current directory.
596597
</para>
@@ -880,7 +881,7 @@ psql --username=postgres --file=script.sql postgres
880881

881882
<listitem>
882883
<para>
883-
Ifthe <option>--link</option>option was <emphasis>not</emphasis>
884+
Ifneither <option>--link</option>nor <option>--swap</option> was
884885
used, the old cluster was unmodified; it can be restarted.
885886
</para>
886887
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp