summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/cluster.sgml
diff options
context:
space:
mode:
authorNathan Bossart <nathan@postgresql.org>2023-07-19 15:26:59 -0700
committerNathan Bossart <nathan@postgresql.org>2023-07-19 15:26:59 -0700
commitab29a7a9c6ffaddaf6788a13e83f1a249f06bb1b (patch)
tree8086b1fe7cdc7d1d011dfaadbdab09064214aecb /doc/src/sgml/ref/cluster.sgml
parentcdaedfc96d1488069518d42479125ceb9a5e67d0 (diff)
Doc: move unparenthesized syntaxes for a few commands.
Move documentation of the unparenthesized syntaxes for VACUUM, ANALYZE, EXPLAIN, and CLUSTER to the "Compatibility" section of their documentation to improve readability of the preferred, parenthesized syntaxes. Author: Melanie Plageman Discussion: https://postgr.es/m/CAAKRu_bc5uHieG1976kGqJKxyWtyQt9yvktjsVX%2Bi7NOigDjOA%40mail.gmail.com
Diffstat (limited to 'doc/src/sgml/ref/cluster.sgml')
-rw-r--r--doc/src/sgml/ref/cluster.sgml14
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/cluster.sgml b/doc/src/sgml/ref/cluster.sgml
index b6d5655c194..557a94cea78 100644
--- a/doc/src/sgml/ref/cluster.sgml
+++ b/doc/src/sgml/ref/cluster.sgml
@@ -22,7 +22,6 @@ PostgreSQL documentation
<refsynopsisdiv>
<synopsis>
CLUSTER [ ( <replaceable class="parameter">option</replaceable> [, ...] ) ] [ <replaceable class="parameter">table_name</replaceable> [ USING <replaceable class="parameter">index_name</replaceable> ] ]
-CLUSTER [ VERBOSE ] [ <replaceable class="parameter">table_name</replaceable> [ USING <replaceable class="parameter">index_name</replaceable> ] ]
<phrase>where <replaceable class="parameter">option</replaceable> can be one of:</phrase>
@@ -240,12 +239,19 @@ CLUSTER;
</para>
<para>
- The syntax
+ The following syntax was used before <productname>PostgreSQL</productname>
+ 17 and is still supported:
+<synopsis>
+CLUSTER [ VERBOSE ] [ <replaceable class="parameter">table_name</replaceable> [ USING <replaceable class="parameter">index_name</replaceable> ] ]
+</synopsis>
+ </para>
+
+ <para>
+ The following syntax was used before <productname>PostgreSQL</productname>
+ 8.3 and is still supported:
<synopsis>
CLUSTER <replaceable class="parameter">index_name</replaceable> ON <replaceable class="parameter">table_name</replaceable>
</synopsis>
- is also supported for compatibility with pre-8.3 <productname>PostgreSQL</productname>
- versions.
</para>
</refsect1>