From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Janning Vygen <vygen(at)planwerk6(dot)de> |
Cc: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: VERY SMALL DOC BUG: http://www.postgresql.org/idocs/index.php?sql-createtable.html |
Date: | 2002-09-03 18:59:34 |
Message-ID: | 200209031859.g83IxYc11327@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
Looks like this is already fixed in 7.3, due out in a few months:
A not-null constraint is always written as a column constraint. A
not-null constraint is equivalent to creating a check constraint
<literal>CHECK (<replaceable>column_name</replaceable> IS NOT
NULL)</literal>, but in <productname>PostgreSQL</productname>
---------------------------------------------------------------------------
Janning Vygen wrote:
> Hi,
>
> In document
> http://www.postgresql.org/idocs/index.php?sql-createtable.html
>
> it says (Parameters, third section):
>
> NOT NULL
> The column is not allowed to contain NULL values. This is
> equivalent to the column constraint CHECK (column NOT NULL).
>
> At the end it must say:
>
> CHECK (column IS NOT NULL).
> ^^
>
> thanks for maintaining/developing postgresql!! Great database!
>
> kind regards,
> janning
>
> --
> PLANWERK 6 /websolutions
> Herzogstra?e 86
> 40215 D?sseldorf
>
> fon 0211-6015919
> fax 0211-6015917
> http://www.planwerk6.de
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2002-09-04 03:29:42 | Re: [GENERAL] PostgreSQL papers |
Previous Message | Peter Eisentraut | 2002-09-03 18:55:37 | Re: wrong information about unlimied size of text field? |