Greg Stark <[EMAIL PROTECTED]> writes: > Tom Lane <[EMAIL PROTECTED]> writes: >> In this situation, I think it's entirely reasonable to expect the user >> to do any needed ALTER ADD COLUMN, CONSTRAINT, etc commands before >> trying to attach a child table to a parent. Having the system do it >> for you offers no functionality gain, just a way to shoot yourself in >> the foot.
> Well if that's the consensus feeling then it certainly makes my life easier. Well, one reason for my position is exactly to make your life easier. I think that making ADD INHERITS do all these other things automagically is lily-gilding, or at least implementing features not shown to be needed. Let's make it do the minimum needed for the use-cases cited so far --- we can always add more functionality later, *after* it's proven needed. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match