"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
>> That's one reason that I didn't like solving it by hacking pg_dump.
> My fix works well with the scenario 7.2 pg_restore -> 7.3 pg_restore.
> It's another problem that 7.3 pg_dump -> 7.3 pg_restore fails.
Perhaps we're talking at cross-purposes. Exactly what was the failure
that your fix was intended to prevent? I thought the problem really
came down to the fact that reloading 7.2 "lo" type definitions into 7.3
would fail.
regards, tom lane