Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 6267CB6292F for ; Fri, 3 Jun 2011 10:35:30 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 01632-03 for ; Fri, 3 Jun 2011 13:35:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 5DA2FB6292D for ; Fri, 3 Jun 2011 10:35:23 -0300 (ADT) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Fri, 03 Jun 2011 08:35:22 -0500 Message-Id: <4DE89CBF020000250003E076@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Fri, 03 Jun 2011 08:35:11 -0500 From: "Kevin Grittner" To: "fel" , Subject: Re: - upgrade advice References: In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201106/12 X-Sequence-Number: 37638 fel wrote: > I have a small server running RHEL 5.2 32bit / Postgresql 8.3.3. > I would like to upgrade Postgres to 9.0 on a new server running > RHEL 5.5 but 64bit. > > What would be the best solution : > - Dump data from 32bit to 64bit then upgrade to v9.0 (using > pg_upgrade). > - Upgrade to v9.0 then dump from 32 to 64bit. > - Dump from 8.3-32bit to 9.0-64bit. I would use pg_dump executing on the new system (pointing to the old database) and pipe the output directly into psql to populate the new database. -Kevin