Re: [PATCHES] ADD/DROP INHERITS - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] ADD/DROP INHERITS
Date
Msg-id 1254.1149961704@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] ADD/DROP INHERITS  (Greg Stark <gsstark@mit.edu>)
Responses Re: [PATCHES] ADD/DROP INHERITS  (Greg Stark <gsstark@mit.edu>)
List pgsql-hackers
Greg Stark <gsstark@mit.edu> writes:
> Maybe it would be better to set attislocal=0 if the attinhcount goes from
> 0->1?

That just moves the surprises to other cases.  I think I'd prefer to err
in the direction that can't cause unexpected data loss (due to columns
being dropped that perhaps should not have been).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: Ranges for well-ordered types
Next
From: Tom Lane
Date:
Subject: Re: That EXPLAIN ANALYZE patch still needs work