Re: Postgres version change - pg_dump

Поиск
Список
Период
Сортировка
От sarlav kumar
Тема Re: Postgres version change - pg_dump
Дата
Msg-id 20041220173406.95609.qmail@web51305.mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Postgres version change - pg_dump  (Bruno Wolff III <bruno@wolff.to>)
Ответы Re: Postgres version change - pg_dump  (Kretschmer Andreas <andreas_kretschmer@despammed.com>)
Re: [PERFORM] Postgres version change - pg_dump  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-novice
Hi,
 
From what I understand, I need to execute the pg_dump command from the new server( so that it will use the 7.4.6 version), but connect to the old DB. Am I right?
 
Thanks,
Saranya

Bruno Wolff III <bruno@wolff.to> wrote:
On Mon, Dec 20, 2004 at 06:40:34 -0800,
sarlav kumar wrote:
>
> I would like to do a pg_dump on the test database, and restore it in the new database on Postgres 7.4.6. I would like to know if there would be any problem due to the postgres version/OS change. If so, could someone tell me what precautions I can take to avoid any problems?

You should use the 7.4.6 version of pg_dump to dump the old database. Note
you still need to be running the 7.3.2 server for the old database.
pg_dump will be just acting like a client connecting over the network
and will work with older versions of the server.


Do you Yahoo!?
Jazz up your holiday email with celebrity designs. Learn more.

В списке pgsql-novice по дате отправления:

Предыдущее
От: Kretschmer Andreas
Дата:
Сообщение: Re: pg_dumpall with oids/blobs
Следующее
От: George Weaver
Дата:
Сообщение: Connection problem with 8 Beta 5