Re: ADD/DROP INHERITS - Mailing list pgsql-hackers

From Greg Stark
Subject Re: ADD/DROP INHERITS
Date
Msg-id 877j3rlivu.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: ADD/DROP INHERITS  ("Jim C. Nasby" <jnasby@pervasive.com>)
Responses Re: ADD/DROP INHERITS
List pgsql-hackers
"Jim C. Nasby" <jnasby@pervasive.com> writes:

> On Thu, Jun 08, 2006 at 11:42:49AM -0400, Greg Stark wrote:
> > But I seem to recall some headaches with that approach.
> 
> What happens if you
> 
> ALTER TABLE ... ADD new_column int DEFAULT 1;
> ALTER TABLE ... ALTER new_column SET DEFAULT 2;

Ah yes. Keeping track of multiple old defaults and when they were in effect
would indeed be quite a headache.

-- 
greg



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Type of bare text strings
Next
From: Teodor Sigaev
Date:
Subject: Re: Snowball and ispell in tsearch2