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 58EA73A7B5F for ; Mon, 20 Dec 2004 15:35:04 +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 44391-01 for ; Mon, 20 Dec 2004 15:34:54 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id B50463A79F8 for ; Mon, 20 Dec 2004 15:34:53 +0000 (GMT) Received: (qmail 2782 invoked by uid 500); 20 Dec 2004 15:47:49 -0000 Date: Mon, 20 Dec 2004 09:47:49 -0600 From: Bruno Wolff III To: sarlav kumar Cc: pgsqlnovice , pgsqlperform Subject: Re: Postgres version change - pg_dump Message-ID: <20041220154749.GA1603@wolff.to> Mail-Followup-To: sarlav kumar , pgsqlnovice , pgsqlperform References: <20041220144034.93247.qmail@web51306.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041220144034.93247.qmail@web51306.mail.yahoo.com> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.003 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200412/187 X-Sequence-Number: 11764 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.