Re: Postgres version change - pg_dump

From: sarlav kumar <sarlavk(at)yahoo(dot)com>
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>, pgsqlperform <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Postgres version change - pg_dump
Date: 2004-12-20 17:34:06
Message-ID: 20041220173406.95609.qmail@web51305.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-performance

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(at)wolff(dot)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.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message George Weaver 2004-12-20 17:50:53 Connection problem with 8 Beta 5
Previous Message sarlav kumar 2004-12-20 17:30:33 Re: Postgres version change - pg_dump

Browse pgsql-performance by date

  From Date Subject
Next Message Kretschmer Andreas 2004-12-20 18:27:29 Re: Postgres version change - pg_dump
Previous Message sarlav kumar 2004-12-20 17:30:33 Re: Postgres version change - pg_dump