"Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
> course that won't work, since its link'd to the oid of the table name :(
Not to mention all the other system catalogs. You could maybe make this
idea work by regenerating the entire catalog set, but not by
regenerating just pg_attribute. But if you don't know the table-to-OID
mapping in the old database you're screwed anyway :-(
regards, tom lane