aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-05-30 16:58:17 -0400
committerMichael Paquier <michael@paquier.xyz>2019-05-30 16:58:17 -0400
commitfc115d0f9fc656967260815c031e0f25741428ae (patch)
tree88d81549c30f3722f64d806144eef3e4705319b6 /doc/src
parent13002bf0bcdf4900987684ca6ef7665a25aa692b (diff)
downloadpostgresql-fc115d0f9fc656967260815c031e0f25741428ae.tar.gz
postgresql-fc115d0f9fc656967260815c031e0f25741428ae.zip
Rework options of pg_checksums options for filenode handling
This makes the tool consistent with the option set of oid2name, which has been historically using -f for filenodes, and has more recently gained long options and --filenode via 1aaf532. Reported-by: Peter Eisentraut Author: Fabien Coelho Discussion: https://postgr.es/m/97045260-fb9e-e145-a950-cf7d28c4eaea@2ndquadrant.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/pg_checksums.sgml34
1 files changed, 18 insertions, 16 deletions
diff --git a/doc/src/sgml/ref/pg_checksums.sgml b/doc/src/sgml/ref/pg_checksums.sgml
index a0ffeb0ab04..33706d1d97a 100644
--- a/doc/src/sgml/ref/pg_checksums.sgml
+++ b/doc/src/sgml/ref/pg_checksums.sgml
@@ -101,6 +101,17 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
+ <term><option>-f <replaceable>filenode</replaceable></option></term>
+ <term><option>--filenode=<replaceable>filenode</replaceable></option></term>
+ <listitem>
+ <para>
+ Only validate checksums in the relation with filenode
+ <replaceable>filenode</replaceable>.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>-N</option></term>
<term><option>--no-sync</option></term>
<listitem>
@@ -117,31 +128,22 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
- <term><option>-v</option></term>
- <term><option>--verbose</option></term>
- <listitem>
- <para>
- Enable verbose output. Lists all checked files.
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-r <replaceable>relfilenode</replaceable></option></term>
+ <term><option>-P</option></term>
+ <term><option>--progress</option></term>
<listitem>
<para>
- Only validate checksums in the relation with specified relfilenode.
+ Enable progress reporting. Turning this on will deliver a progress
+ report while checking or enabling checksums.
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><option>-P</option></term>
- <term><option>--progress</option></term>
+ <term><option>-v</option></term>
+ <term><option>--verbose</option></term>
<listitem>
<para>
- Enable progress reporting. Turning this on will deliver a progress
- report while checking or enabling checksums.
+ Enable verbose output. Lists all checked files.
</para>
</listitem>
</varlistentry>