Skip to content

Commit e9959ff

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 7148cb3 commit e9959ff

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)
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