Re: Postgres version change - pg_dump - Mailing list pgsql-novice

From sarlav kumar
Subject Re: Postgres version change - pg_dump
Date
Msg-id 20041220173406.95609.qmail@web51305.mail.yahoo.com
Whole thread Raw
In response to Re: Postgres version change - pg_dump  (Bruno Wolff III <bruno@wolff.to>)
Responses Re: Postgres version change - pg_dump
Re: [PERFORM] Postgres version change - pg_dump
List 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 by date:

Previous
From: Kretschmer Andreas
Date:
Subject: Re: pg_dumpall with oids/blobs
Next
From: George Weaver
Date:
Subject: Connection problem with 8 Beta 5