Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UXdKe-0004k2-Qf for pgsql-admin@arkaria.postgresql.org; Wed, 01 May 2013 20:08:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UXdKd-0001ru-I6 for pgsql-admin@arkaria.postgresql.org; Wed, 01 May 2013 20:08:51 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UXdKR-0001h8-4Y for pgsql-admin@postgresql.org; Wed, 01 May 2013 20:08:39 +0000 Received: from proofpoint1.mail.rice.edu ([128.42.201.100] helo=pp1.rice.edu) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UXdKO-00053e-0W for pgsql-admin@postgresql.org; Wed, 01 May 2013 20:08:37 +0000 Received: from pps.filterd (pp1.rice.edu [127.0.0.1]) by pp1.rice.edu (8.14.5/8.14.5) with SMTP id r41IBjxF030962; Wed, 1 May 2013 15:08:35 -0500 Received: from mh3.mail.rice.edu (mh3.mail.rice.edu [128.42.199.10]) by pp1.rice.edu with ESMTP id 1c3847g2ug-1; Wed, 01 May 2013 15:08:35 -0500 X-Virus-Scanned: by amavis-2.7.0 at mh3.mail.rice.edu, auth channel X-SMTP-Auth: no X-SMTP-Auth: no Received: from aart.rice.edu (aart.rice.edu [168.7.56.48]) by mh3.mail.rice.edu (Postfix) with ESMTP id 34E64402A1; Wed, 1 May 2013 15:08:35 -0500 (CDT) Received: by aart.rice.edu (Postfix, from userid 18612) id 2BA561006FC; Wed, 1 May 2013 15:08:35 -0500 (CDT) Date: Wed, 1 May 2013 15:08:35 -0500 From: "ktm@rice.edu" To: Benjamin Krajmalnik Cc: pgsql-admin@postgresql.org Subject: Re: Installing multiple instances of Postgred on one FreeBSD server Message-ID: <20130501200835.GN27807@aart.rice.edu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-12-10) X-Pg-Spam-Score: -4.5 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On Wed, May 01, 2013 at 01:58:21PM -0600, Benjamin Krajmalnik wrote: > I need to migrate a production database from Postgres 9.0 to Postgres > 9.2. > > Running FreeBSD 8.1/amd64, and presently running Postgres 9.0.4. > > Due to the nature of the application, I cannot have any considerable > downtime, so the pg_dump and install new version route is not an option. > > I would like to install PG 9.2 on the same server and use Slony to > replicate the databases, and once everything is up take the 9.0 cluster > down. > > Ideally, I would like to do this from the ports. > > Any suggestions will be deeply appreciated. > Hi Benjamin, Using Slony will definitely work. We have used it many times for this type of upgrade. Since you are on the same box, have you considered using pg_upgrade? Regards, Ken -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin