Loading pg_dump from 7.2 db >> 7.1 db

Поиск
Список
Период
Сортировка
Искать

Loading pg_dump from 7.2 db >> 7.1 db

От:
Benjamin 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 
FAQ