Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbbcbde

Browse files
committed
Note that index_name in ALTER INDEX ATTACH PARTITION can be schema-qualified
Missed in8b08f7d; backpatch to all supported branches.Reported-by: alvaro@datadoghq.comReviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/172924785099.698.15236991344616673753@wrigleys.postgresql.org
1 parent20d9489 commitfbbcbde

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)

[8]ページ先頭

©2009-2025 Movatter.jp