Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 0EC899FA614 for ; Mon, 15 Oct 2007 23:50:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 62414-08 for ; Mon, 15 Oct 2007 23:50:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from momjian.us (momjian.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 812709F9A39 for ; Mon, 15 Oct 2007 23:50:37 -0300 (ADT) Received: (from bruce@localhost) by momjian.us (8.11.6/8.11.6) id l9G2od612620 for pgsql-docs@postgresql.org; Mon, 15 Oct 2007 22:50:39 -0400 (EDT) From: Bruce Momjian Message-Id: <200710160250.l9G2od612620@momjian.us> Subject: Slony for upgrades To: PostgreSQL-documentation Date: Mon, 15 Oct 2007 22:50:39 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL124 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/50 X-Sequence-Number: 4471 Seems we didn't have any mention of Slony for upgrades in the migration section, so I added it: It is also possible to use Slony to create a slave server with the updated version of PostgreSQL. The slave can be on the same computer or a different computer. Once it has synced up with the master server (running the older version of PostgreSQL), you can switch masters and make the slave the master and shut down the older database instance. Such a switch-over results in only several minutes of downtime for an upgrade. -- Bruce Momjian http://momjian.us EnterpriseDB http://postgres.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +