Loading pg_dump from 7.2 db >> 7.1 db

Started by Benjamin Smithabout 24 years ago1 messagesgeneral
Jump to latest
#1Benjamin Smith
bens@benjamindsmith.com

Well, I've been unable to get PG 7.2 to load on RH 7.1 machine.

So, can I load database(s) from one running PG 7.2 into a system running PG
7.1.3? If so, what are the switches on pg_dump or psql to do this?

Here's what I normally do:

pg_dump -U postgres -d -v -f output.sql dbname
psql -e dbname < output.sql

But when I dump from a system running PG 7.2, and try to load on a system
running PG 7.1.3, I get errors.

Thanks,

Ben