postgres.git / summary / log / commit / refs
commit 84f08f2215754cd03feaa82bbdf10fc114458b26
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Wed May 08 08:17:51 2024 +0000
First released in: 17.0
doc: Improve order of options on pg_upgrade reference page
Put the new long-only options in a location that is consistent with
the existing long-only options and also the --help output.
doc/src/sgml/ref/pgupgrade.sgml | 46 ++++++++++++++++++++---------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/doc/src/sgml/ref/pgupgrade.sgml b/doc/src/sgml/ref/pgupgrade.sgml
index 80a50377b1d..10c842adb14 100644
--- a/doc/src/sgml/ref/pgupgrade.sgml
+++ b/doc/src/sgml/ref/pgupgrade.sgml
@@ -190,29 +190,6 @@ PostgreSQL documentation
variable <envar>PGSOCKETDIR</envar></para></listitem>
</varlistentry>
- <varlistentry>
- <term><option>--sync-method=</option><replaceable>method</replaceable></term>
- <listitem>
- <para>
- When set to <literal>fsync</literal>, which is the default,
- <command>pg_upgrade</command> will recursively open and synchronize all
- files in the upgraded cluster's data directory. The search for files
- will follow symbolic links for the WAL directory and each configured
- tablespace.
- </para>
- <para>
- On Linux, <literal>syncfs</literal> may be used instead to ask the
- operating system to synchronize the whole file systems that contain the
- upgraded cluster's data directory, its WAL files, and each tablespace.
- See <xref linkend="guc-recovery-init-sync-method"/> for information
- about the caveats to be aware of when using <literal>syncfs</literal>.
- </para>
- <para>
- This option has no effect when <option>--no-sync</option> is used.
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry>
<term><option>-U</option> <replaceable>username</replaceable></term>
<term><option>--username=</option><replaceable>username</replaceable></term>
@@ -276,6 +253,29 @@ PostgreSQL documentation
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--sync-method=</option><replaceable>method</replaceable></term>
+ <listitem>
+ <para>
+ When set to <literal>fsync</literal>, which is the default,
+ <command>pg_upgrade</command> will recursively open and synchronize all
+ files in the upgraded cluster's data directory. The search for files
+ will follow symbolic links for the WAL directory and each configured
+ tablespace.
+ </para>
+ <para>
+ On Linux, <literal>syncfs</literal> may be used instead to ask the
+ operating system to synchronize the whole file systems that contain the
+ upgraded cluster's data directory, its WAL files, and each tablespace.
+ See <xref linkend="guc-recovery-init-sync-method"/> for information
+ about the caveats to be aware of when using <literal>syncfs</literal>.
+ </para>
+ <para>
+ This option has no effect when <option>--no-sync</option> is used.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term><option>-?</option></term>
<term><option>--help</option></term>
[parent: 4364e0126ec7]