Re: SET NULL / SET NOT NULL - Mailing list pgsql-hackers

From Philip Warner
Subject Re: SET NULL / SET NOT NULL
Date
Msg-id 3.0.5.32.20020221131219.03565740@mail.rhyme.com.au
Whole thread Raw
In response to SET NULL / SET NOT NULL  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
At 09:59 15/02/02 +0800, Christopher Kings-Lynne wrote:
>
>ALTER TABLE blah ALTER COLUMN col SET [NULL | NOT NULL]
>

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]


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: peter@helpnet_BUT_NOT_SPAM.com.au
Date:
Subject: Which newsgroup is best for PostgreSQL under Cygwin?
Next
From: Doug McNaught
Date:
Subject: Re: SET NULL / SET NOT NULL