I wrote:
> Why don't you just use the dump file as it was designed to be used,
> ie, feed it to pg_dump (or pg_restore, depending on format).
Argh, not enough caffeine yet --- of course that should read
"ie, feed it to psql (or pg_restore, depending on format)."
regards, tom lane