aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-09-02 06:20:53 +0000
committerBruce Momjian <bruce@momjian.us>2002-09-02 06:20:53 +0000
commit81efc826081b7889753c449cf29dd72f75690047 (patch)
treec8d8f6acab955099f9b7d9b3d107b08ae0404151 /doc/src
parentf1c1685b391e76c3784c8809eeb5c47df04016c0 (diff)
downloadpostgresql-81efc826081b7889753c449cf29dd72f75690047.tar.gz
postgresql-81efc826081b7889753c449cf29dd72f75690047.zip
This patch fixes a minor inaccuracy in the documentation: NOT NULL is
not synonymous with CHECK (xxx IS NOT NULL) -- for example, consider ALTER TABLE ADD PRIMARY KEY, which checks for 'NOT NULL', not a check constraint. Neil Conway
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_table.sgml6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index 5ef7a5d6e70..9e9525775c7 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.55 2002/05/18 15:44:47 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.56 2002/09/02 06:20:53 momjian Exp $
PostgreSQL documentation
-->
@@ -247,9 +247,7 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
<term><literal>NOT NULL</></term>
<listitem>
<para>
- The column is not allowed to contain NULL values. This is
- equivalent to the column constraint <literal>CHECK (<replaceable
- class="PARAMETER">column</replaceable> NOT NULL)</literal>.
+ The column is not allowed to contain NULL values.
</para>
</listitem>
</varlistentry>