Greg Stark <gsstark(at)mit(dot)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