Commit 674818dc authored by Bruce Momjian's avatar Bruce Momjian

This patch corrects a minor mis-statement in the CREATE DOMAIN docs,

pointed out by Chris KL on -hackers a little while ago -- NOT NULL !=
CHECK xxx IS NOT NULL.

Neil Conway
parent da395b56
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.5 2002/04/23 02:07:15 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/create_domain.sgml,v 1.6 2002/09/20 03:39:15 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -108,9 +108,7 @@ where <replaceable class="PARAMETER">constraint</replaceable> is: ...@@ -108,9 +108,7 @@ where <replaceable class="PARAMETER">constraint</replaceable> is:
<term><literal>NOT NULL</></term> <term><literal>NOT NULL</></term>
<listitem> <listitem>
<para> <para>
Values of this domain are not allowed to be NULL. This is Values of this domain are not allowed to be NULL.
equivalent to the column constraint <literal>CHECK (<replaceable
class="PARAMETER">column</replaceable> NOT NULL)</literal>.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment