Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9a89f6d

Browse files
committed
Adjust ALTER TABLE docs on partitioned constraints
Move the "additional restrictions" comment to ALTER TABLE ADD CONSTRAINT instead of ADD CONSTRAINT USING INDEX; and in the latter instead indicate that partitioned tables are unsupported Noted by David G. Johnston Discussion: https://postgr.es/m/CAKFQuwY4Ld7ecxL_KAmaxwt0FUu5VcPPN2L4dh+3BeYbrdBa5g@mail.gmail.com
1 parent 9a44a26 commit 9a89f6d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

doc/src/sgml/ref/alter_table.sgml

+7-2
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,12 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
370370
the table, until it is validated by using the <literal>VALIDATE
371371
CONSTRAINT</literal> option.
372372
</para>
373+
374+
<para>
375+
Additional restrictions apply when unique or primary key constraints
376+
are added to partitioned tables; see <xref linkend="sql-createtable" />.
377+
</para>
378+
373379
</listitem>
374380
</varlistentry>
375381

@@ -413,8 +419,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
413419
</para>
414420

415421
<para>
416-
Additional restrictions apply when unique or primary key constraints
417-
are added to partitioned tables; see <xref linkend="sql-createtable" />.
422+
This form is not currently supported on partitioned tables.
418423
</para>
419424

420425
<note>

0 commit comments

Comments
 (0)