Oleg Serov <serovov(at)gmail(dot)com> writes:
> So there are no simple way to do it right, and it will be not fixed? Will
> this bug appear in todo list?
It's not a bug, it's just what happens when you make the parent and
child column orders inconsistent. Would you prefer that we restricted
ALTER TABLE to refuse to perform the alteration in the first place?
regards, tom lane