Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 673FC9FB1C6 for ; Wed, 17 Jan 2007 17:43:09 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 45296-04 for ; Wed, 17 Jan 2007 17:41:56 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from web34213.mail.mud.yahoo.com (web34213.mail.mud.yahoo.com [66.163.178.128]) by postgresql.org (Postfix) with SMTP id C2F499FB2A6 for ; Wed, 17 Jan 2007 17:40:59 -0400 (AST) Received: (qmail 16703 invoked by uid 60001); 17 Jan 2007 21:40:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Cl8Z+K8p5UlGFSKvLKp7KNGRxr/4+7jC36lvV8bspd0WdBrhk4xDf91K0DN6FklaHroXrRS0uT+5OOMcTIHf1cjnRW4QmMcpGs+4jVnYS0ew2CPA5pRRZ8EJpuhjcy/5rkWhxIugG8MWb8CZFKCc0z+mL74akq7XGB4+kyjiWzQ=; X-YMail-OSG: kVcO_QQVM1nrEnQVkM4TSJJLIfkaHMo0KHzkoSRP Received: from [216.180.132.69] by web34213.mail.mud.yahoo.com via HTTP; Wed, 17 Jan 2007 13:40:57 PST Date: Wed, 17 Jan 2007 13:40:57 -0800 (PST) From: Andrew Edson Subject: Re: Upgrade/Installation problem: Version 7.4.9 to version To: Jeff Frost Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2068824504-1169070057=:16494" Content-Transfer-Encoding: 8bit Message-ID: <529135.16494.qm@web34213.mail.mud.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/146 X-Sequence-Number: 24302 --0-2068824504-1169070057=:16494 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit I apologize; I had intended to reply-all, and simply missed the mark somehow. Also, thank you for the link to the documentation; it was clear enough that I was able to get what I needed done...at least as far as I can tell, since it's not finished yet. Thank you very much for your gracious assistance. Jeff Frost wrote: Please reply-all when replying so everyone can help. What I mean is that I have a physical server db1 which is old and meant to be replaced by new shiny physical server db2. Let me ask a different question, because it seems perhaps I didn't understand your original email. Are you just trying to upgrade from postgresql 7.4.9 to 8.1.3 (I'd suggest 8.1.6 myself) on the same physical machine? If so, then you need to use an intermediate file like this: (starting from when postgresql-7.4.9 is running) /usr/local/src/postgresql-8.1.6/src/bin/pg_dump/pg_dumpall | gzip > dumpall.gz stop postgresql 7.4.9 server rename the 7.4.9 data directory install postgresql-8.1.6 initdb -E UTF8 -D /var/lib/pgsql/data (or wherever your data directory is to reside) start postgresql 8.1.6 zcat dumpall.gz | psql postgres --------------------------------- Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. --0-2068824504-1169070057=:16494 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit
I apologize; I had intended to reply-all, and simply missed the mark somehow. 
 
Also, thank you for the link to the documentation; it was clear enough that I was able to get what I needed done...at least as far as I can tell, since it's not finished yet.
 
Thank you very much for your gracious assistance.

Jeff Frost <jeff@frostconsultingllc.com> wrote:
Please reply-all when replying so everyone can help.

What I mean is that I have a physical server db1 which is old and meant to be
replaced by new shiny physical server db2.

Let me ask a different question, because it seems perhaps I didn't understand
your original email.

Are you just trying to upgrade from postgresql 7.4.9 to 8.1.3 (I'd suggest
8.1.6 myself) on the same physical machine?

If so, then you need to use an intermediate file like this:

(starting from when postgresql-7.4.9 is running)
/usr/local/src/postgresql-8.1.6/src/bin/pg_dump/pg_dumpall | gzip > dumpall.gz
stop postgresql 7.4.9 server
rename the 7.4.9 data directory
install postgresql-8.1.6
initdb -E UTF8 -D /var/lib/pgsql/data
(or wherever your data directory is to reside)
start postgresql 8.1.6
zcat dumpall.gz | psql postgres


Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos. --0-2068824504-1169070057=:16494--