Bruce Momjian <bruce@momjian.us> writes:
> I can think of three possible solutions, all involve recreating and
> dropping the dropped column in the new schema:
(4) add a switch to pg_dump to include dropped columns in its
schema output and then drop them. This seems far more maintainable
than writing separate code that tries to parse the output.
regards, tom lane