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

Commit 49b2f22

Browse files
committed
update
1 parent 6787c6c commit 49b2f22

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

doc/src/sgml/ref/create_table.sgml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.23 2000/04/14 21:44:21 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.24 2000/04/14 22:13:24 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -957,11 +957,13 @@ ERROR: Cannot insert a duplicate key into a unique index.
957957
<term>MATCH <replaceable class="parameter">matchtype</replaceable></term>
958958
<listitem>
959959
<para>
960-
The type of comparison to do between the table data. There are
961-
three types of matching, MATCH FULL, MATCH PARTIAL, and the
962-
unspecified match type used if no match type is specified.
963-
MATCH PARTIAL is not
964-
currently supported.
960+
There are three match types: MATCH FULL, MATCH PARTIAL, and a
961+
default match type if none is specified. MATCH FULL will not
962+
allow one column of a multi-column foreign key to be NULL
963+
unless all foreign key columns are NULL. The default MATCH type
964+
allows a single foreign key column to be NULL while other parts
965+
of the foreign key are not NULL. MATCH PARTIAL is not currently
966+
supported.
965967
</para>
966968
</listitem>
967969
</varlistentry>
@@ -1174,7 +1176,7 @@ ERROR: <replaceable class="parameter">name</replaceable> referential integrity
11741176
</title>
11751177
<para>
11761178
Currently <productname>Postgres</productname> only supports MATCH
1177-
FULL and an unspecified match type. In addition, the referenced
1179+
FULL and a default match type. In addition, the referenced
11781180
columns are supposed to be the columns of a UNIQUE constraint in
11791181
the referenced table, however <productname>Postgres</productname>
11801182
does not enforce this.
@@ -1503,10 +1505,13 @@ FOREIGN KEY ( <replaceable class="parameter">column</replaceable> [, ...] ) REFE
15031505
<term>MATCH <replaceable class="parameter">matchtype</replaceable></term>
15041506
<listitem>
15051507
<para>
1506-
The type of comparison to do between the table data. There are
1507-
three types of matching, MATCH FULL, MATCH PARTIAL, and the
1508-
unspecified match type used if no match type is specified.
1509-
MATCH PARTIAL is not currently supported.
1508+
There are three match types: MATCH FULL, MATCH PARTIAL, and a
1509+
default match type if none is specified. MATCH FULL will not
1510+
allow one column of a multi-column foreign key to be NULL
1511+
unless all foreign key columns are NULL. The default MATCH type
1512+
allows a single foreign key column to be NULL while other parts
1513+
of the foreign key are not NULL. MATCH PARTIAL is not currently
1514+
supported.
15101515
</para>
15111516
</listitem>
15121517
</varlistentry>

0 commit comments

Comments
 (0)