X-Original-To: pgsql-novice-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1B9663AA0E7 for ; Mon, 20 Dec 2004 17:34:12 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 07028-05 for ; Mon, 20 Dec 2004 17:34:08 +0000 (GMT) Received: from web51305.mail.yahoo.com (web51305.mail.yahoo.com [206.190.38.171]) by svr1.postgresql.org (Postfix) with SMTP id CA00B3AA0CE for ; Mon, 20 Dec 2004 17:34:08 +0000 (GMT) Received: (qmail 95611 invoked by uid 60001); 20 Dec 2004 17:34:06 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=kdCTtXOw0zlrJvF6YTEiQ3YNR9xblXERp1ORoBlL9B8AWHIz3iPrZ9evmckna8Ne1GDaSEmAd/Tja7i+fmRNOARJDYdzYzzkXp8WytMemDfymJrRj5dK17VBRIWphRgdfPwlwTCXojSCK/GWTOd6rjJZWj8a41PBjUjnHwyUr6w= ; Message-ID: <20041220173406.95609.qmail@web51305.mail.yahoo.com> Received: from [65.218.182.242] by web51305.mail.yahoo.com via HTTP; Mon, 20 Dec 2004 09:34:06 PST Date: Mon, 20 Dec 2004 09:34:06 -0800 (PST) From: sarlav kumar Subject: Re: Postgres version change - pg_dump To: Bruno Wolff III Cc: pgsqlnovice , pgsqlperform In-Reply-To: <20041220154749.GA1603@wolff.to> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-148938350-1103564046=:95481" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.713 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, HTML_20_30, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200412/189 X-Sequence-Number: 11766 --0-148938350-1103564046=:95481 Content-Type: text/plain; charset=us-ascii 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 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. --0-148938350-1103564046=:95481 Content-Type: text/html; charset=us-ascii
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. --0-148938350-1103564046=:95481--