Re: SET NULL / SET NOT NULL

From: Doug McNaught <doug(at)wireboard(dot)com>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: "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-02-21 02:18:49
Message-ID: m3r8nfd1bq.fsf@varsoon.denali.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:

> I'm not too fond of 'SET NULL' - the syntax implies the column is being set
> to NULL. But I agree with the rest given we already have ALTER
> TABLE...ALTER COLUMN, I'd vote for:
>
> ALTER TABLE blah ALTER COLUMN col [ALLOW NULL | NOT NULL]

FWIW, I like this syntax too.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
--T. J. Jackson, 1863

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Lockhart 2002-02-21 02:23:53 Re: date/time compatible problems in 7.2
Previous Message Philip Warner 2002-02-21 02:12:19 Re: SET NULL / SET NOT NULL