X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D2CA23B4CB4 for ; Wed, 15 Dec 2004 18:15:31 +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 51879-10 for ; Wed, 15 Dec 2004 18:15:26 +0000 (GMT) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by svr1.postgresql.org (Postfix) with SMTP id C69E93B4C55 for ; Wed, 15 Dec 2004 18:15:25 +0000 (GMT) Received: from unknown (HELO phlogiston.dydns.org) (a.sullivan@rogers.com@65.49.125.184 with login) by smtp105.rog.mail.re2.yahoo.com with SMTP; 15 Dec 2004 18:15:25 -0000 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 06A7C3FA5; Wed, 15 Dec 2004 13:15:24 -0500 (EST) Date: Wed, 15 Dec 2004 13:15:23 -0500 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: upgrading postgresql Message-ID: <20041215181523.GC31560@phlogiston.dyndns.org> Mail-Followup-To: pgsql-admin@postgresql.org References: <41C00963.7090904@mail.jct.ac.il> <1103127600.22049.40.camel@state.g2switchworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1103127600.22049.40.camel@state.g2switchworks.com> User-Agent: Mutt/1.5.6+20040722i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.034 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200412/147 X-Sequence-Number: 15733 On Wed, Dec 15, 2004 at 10:20:00AM -0600, Scott Marlowe wrote: > For upgrades from one major version to the next, you'll need to: > > -- pg_dump all databases in the cluster. (optionally, also backup the > files in the $PGDATA directory) [&c.] Or -- install Slony-I -- replicate from 7.3.x -> 7.4.y (where x >2) -- catch up -- move set We've had quite a few reports of big successes upgrading this way; it works well if you have the disk space. A -- Andrew Sullivan | ajs@crankycanuck.ca This work was visionary and imaginative, and goes to show that visionary and imaginative work need not end up well. --Dennis Ritchie