summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Davis2023-01-26 04:23:32 +0000
committerJeff Davis2023-01-26 04:23:32 +0000
commit8b5f36bb6c16c030561d83b74b8c3270dbf48b68 (patch)
tree845940c1de74176bf2e6d3f8b21d6522a6926161
parent9d2d9728b8d546434aade4f9667a59666588edd6 (diff)
Clarify documentation for CLUSTER on partitioned tables.
Author: Nathan Bossart Discussion: https://postgr.es/m/20230114224000.GA2505377@nathanxps13
-rw-r--r--doc/src/sgml/ref/cluster.sgml6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/cluster.sgml b/doc/src/sgml/ref/cluster.sgml
index b9f2acb1de..29f0f1fd90 100644
--- a/doc/src/sgml/ref/cluster.sgml
+++ b/doc/src/sgml/ref/cluster.sgml
@@ -67,7 +67,8 @@ CLUSTER [VERBOSE]
</para>
<para>
- <command>CLUSTER</command> without any parameter reclusters all the
+ <command>CLUSTER</command> without a
+ <replaceable class="parameter">table_name</replaceable> reclusters all the
previously-clustered tables in the current database that the calling user
has privileges for. This form of <command>CLUSTER</command> cannot be
executed inside a transaction block.
@@ -211,7 +212,8 @@ CLUSTER [VERBOSE]
<para>
Clustering a partitioned table clusters each of its partitions using the
partition of the specified partitioned index. When clustering a partitioned
- table, the index may not be omitted.
+ table, the index may not be omitted. <command>CLUSTER</command> on a
+ partitioned table cannot be executed inside a transaction block.
</para>
</refsect1>