Hiroshi Inoue wrote:
> I don't understand inheritance well. In the near future wouldn't the
> implementation require e.g. attid which is common to all children
> of a parent and is never changed ? If so,we would need the third
> attid field which is irrevalent to physical/logical position. If not,
> physical column number would be sufficient .
We only need something like a unique attid of course if we support
column renaming in child tables. Otherwise the attname is sufficient to
match up child-parent columns.
If/when we support renaming, probably a parent_column_oid in
pg_attribute might be one way to go.
Your idea seems fine Tom.