Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81efc82

Browse files
committed
This patch fixes a minor inaccuracy in the documentation: NOT NULL is
not synonymous with CHECK (xxx IS NOT NULL) -- for example, considerALTER TABLE ADD PRIMARY KEY, which checks for 'NOT NULL', not a checkconstraint.Neil Conway
1 parentf1c1685 commit81efc82

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎doc/src/sgml/ref/create_table.sgml

Lines changed: 2 additions & 4 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.55 2002/05/18 15:44:47 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.56 2002/09/02 06:20:53 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -247,9 +247,7 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
247247
<term><literal>NOT NULL</></term>
248248
<listitem>
249249
<para>
250-
The column is not allowed to contain NULL values. This is
251-
equivalent to the column constraint <literal>CHECK (<replaceable
252-
class="PARAMETER">column</replaceable> NOT NULL)</literal>.
250+
The column is not allowed to contain NULL values.
253251
</para>
254252
</listitem>
255253
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp