summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorÁlvaro Herrera2024-10-20 13:36:20 +0000
committerÁlvaro Herrera2024-10-20 13:36:20 +0000
commitf1c141fe143cc362d6db918db5008c25e2df7a62 (patch)
tree0ad15f5181a7be374b6e4a518fc285a8ebedcf11 /doc/src
parent11c87216d134a606938531e52edab6189bce6c2d (diff)
Note that index_name in ALTER INDEX ATTACH PARTITION can be schema-qualified
Missed in 8b08f7d4820f; backpatch to all supported branches. Reported-by: [email protected] Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/alter_index.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/alter_index.sgml b/doc/src/sgml/ref/alter_index.sgml
index e26efec064b..1d42d05d858 100644
--- a/doc/src/sgml/ref/alter_index.sgml
+++ b/doc/src/sgml/ref/alter_index.sgml
@@ -87,10 +87,11 @@ ALTER INDEX ALL IN TABLESPACE <replaceable class="parameter">name</replaceable>
</varlistentry>
<varlistentry>
- <term><literal>ATTACH PARTITION</literal></term>
+ <term><literal>ATTACH PARTITION <replaceable class="parameter">index_name</replaceable></literal></term>
<listitem>
<para>
- Causes the named index to become attached to the altered index.
+ Causes the named index (possibly schema-qualified) to become attached
+ to the altered index.
The named index must be on a partition of the table containing the
index being altered, and have an equivalent definition. An attached
index cannot be dropped by itself, and will automatically be dropped