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
pull/31/merge
Alvaro Herrera 8 years ago
parent 9a44a26b65
commit 9a89f6d854
  1. 9
      doc/src/sgml/ref/alter_table.sgml

@ -370,6 +370,12 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
the table, until it is validated by using the <literal>VALIDATE the table, until it is validated by using the <literal>VALIDATE
CONSTRAINT</literal> option. CONSTRAINT</literal> option.
</para> </para>
<para>
Additional restrictions apply when unique or primary key constraints
are added to partitioned tables; see <xref linkend="sql-createtable" />.
</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -413,8 +419,7 @@ WITH ( MODULUS <replaceable class="parameter">numeric_literal</replaceable>, REM
</para> </para>
<para> <para>
Additional restrictions apply when unique or primary key constraints This form is not currently supported on partitioned tables.
are added to partitioned tables; see <xref linkend="sql-createtable" />.
</para> </para>
<note> <note>

Loading…
Cancel
Save