Skip to content

Commit 8b5f36b

Browse files
committed
Clarify documentation for CLUSTER on partitioned tables.
Author: Nathan Bossart Discussion: https://postgr.es/m/20230114224000.GA2505377@nathanxps13
1 parent 9d2d972 commit 8b5f36b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/src/sgml/ref/cluster.sgml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ CLUSTER [VERBOSE]
6767
</para>
6868

6969
<para>
70-
<command>CLUSTER</command> without any parameter reclusters all the
70+
<command>CLUSTER</command> without a
71+
<replaceable class="parameter">table_name</replaceable> reclusters all the
7172
previously-clustered tables in the current database that the calling user
7273
has privileges for. This form of <command>CLUSTER</command> cannot be
7374
executed inside a transaction block.
@@ -211,7 +212,8 @@ CLUSTER [VERBOSE]
211212
<para>
212213
Clustering a partitioned table clusters each of its partitions using the
213214
partition of the specified partitioned index. When clustering a partitioned
214-
table, the index may not be omitted.
215+
table, the index may not be omitted. <command>CLUSTER</command> on a
216+
partitioned table cannot be executed inside a transaction block.
215217
</para>
216218

217219
</refsect1>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy