Re: 7.4 Wishlist - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: 7.4 Wishlist
Date
Msg-id 1038687228.72409.76.camel@jester
Whole thread Raw
In response to Re: 7.4 Wishlist  (bpalmer <bpalmer@crimelabs.net>)
List pgsql-hackers
On Sat, 2002-11-30 at 15:06, bpalmer wrote:
> > * Compliant ADD COLUMN
>
> I've missed the thread (if there was one),  how is it non-compliant?

ALTER TABLE .. ADD COLUMN colname integer DEFAULT 42 NOT NULL
CHECK(colname <= 42) REFERENCES tab2 ON DELETE CASCADE;

Can't do the above in a single statement.  It takes five statements.

It's something I'd like to see added as well.

--
Rod Taylor <rbt@rbt.ca>

pgsql-hackers by date:

Previous
From: bpalmer
Date:
Subject: Re: 7.4 Wishlist
Next
From: David Wheeler
Date:
Subject: Re: Boolean casting in 7.3 -> changed?