pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ktm@rice.edu <ktm@rice.edu>
To: Benjamin Krajmalnik <kraj@servoyant.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Installing multiple instances of Postgred on one FreeBSD server
Date: Wed, 1 May 2013 15:08:35 -0500
Message-ID: <20130501200835.GN27807@aart.rice.edu> (raw)
In-Reply-To: <F4E6A2751A2823418A21D4A160B6898892BCE0@fletch.stackdump.local>
References: <F4E6A2751A2823418A21D4A160B6898892BCE0@fletch.stackdump.local>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

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



view thread (15+ messages)  latest in thread

Message-ID: <20130501200835.GN27807@aart.rice.edu>
Permalink:  ../20130501200835.GN27807@aart.rice.edu/
Also on:    postgresql.org/message-id/20130501200835.GN27807@aart.rice.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ktm@rice.edu, kraj@servoyant.com
  Subject: Re: Installing multiple instances of Postgred on one FreeBSD server
  In-Reply-To: <20130501200835.GN27807@aart.rice.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox