Re: SET NULL / SET NOT NULL

From: Thomas Lockhart <lockhart(at)fourpalms(dot)org>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu>, Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SET NULL / SET NOT NULL
Date: 2002-03-22 20:53:41
Message-ID: 3C9B99D5.CF06E28F@fourpalms.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

...
> "CREATE TABLE test (x int NULL)" doesn't look great either. :-) What
> is that NULL doing there?

Well, because NOT NULL *was* in the standard, and because one should be
able to explicitly negate *that*. The alternative was

CREATE TABLE test (x int NOT NOT NULL)

:O

- Thomas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-03-22 21:24:49 Re: SET NULL / SET NOT NULL
Previous Message Bruce Momjian 2002-03-22 19:20:09 Re: SET NULL / SET NOT NULL