Skip to content

Commit fbbcbde

Browse files
committed
Note that index_name in ALTER INDEX ATTACH PARTITION can be schema-qualified
Missed in 8b08f7d; backpatch to all supported branches. Reported-by: alvaro@datadoghq.com Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/172924785099.698.15236991344616673753@wrigleys.postgresql.org
1 parent 20d9489 commit fbbcbde

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/ref/alter_index.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,11 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable>
8787
</varlistentry>
8888

8989
<varlistentry>
90-
<term><literal>ATTACH PARTITION</literal></term>
90+
<term><literal>ATTACH PARTITION <replaceable class="parameter">index_name</replaceable></literal></term>
9191
<listitem>
9292
<para>
93-
Causes the named index to become attached to the altered index.
93+
Causes the named index (possibly schema-qualified) to become attached
94+
to the altered index.
9495
The named index must be on a partition of the table containing the
9596
index being altered, and have an equivalent definition. An attached
9697
index cannot be dropped by itself, and will automatically be dropped

0 commit comments

Comments
 (0)