You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
REFERENCES <replaceable class="PARAMETER">reftable</replaceable> [ ( <replaceable class="PARAMETER">refcolumn</replaceable> ) ] [ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ]
39
42
[ ON DELETE <replaceable class="parameter">action</replaceable> ] [ ON UPDATE <replaceable class="parameter">action</replaceable> ] }
@@ -42,8 +45,8 @@ where <replaceable class="PARAMETER">column_constraint</replaceable> is:
42
45
and <replaceable class="PARAMETER">table_constraint</replaceable> is:
[ MATCH FULL | MATCH PARTIAL | MATCH SIMPLE ] [ ON DELETE <replaceable class="parameter">action</replaceable> ] [ ON UPDATE <replaceable class="parameter">action</replaceable> ] }
@@ -604,6 +607,18 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
604
607
</listitem>
605
608
</varlistentry>
606
609
610
+
<varlistentry>
611
+
<term><literal>USING INDEX TABLESPACE <replaceable class="PARAMETER">tablespace</replaceable></literal></term>
612
+
<listitem>
613
+
<para>
614
+
This clause allows selection of the tablespace in which the index
615
+
associated with a <literal>UNIQUE</literal> or <literal>PRIMARY
616
+
KEY</literal> constraint will be created. If not supplied, the index
617
+
will be created in the same tablespace as the table.
618
+
</para>
619
+
</listitem>
620
+
</varlistentry>
621
+
607
622
</variablelist>
608
623
</refsect1>
609
624
@@ -950,7 +965,7 @@ CREATE TABLE cinemas (
950
965
</refsect2>
951
966
952
967
<refsect2>
953
-
<title>TABLESPACE</title>
968
+
<title>TABLESPACE and USING INDEX TABLESPACE</title>
954
969
955
970
<para>
956
971
The <productname>PostgreSQL</productname> concept of tablespaces is not
0 commit comments