Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id BB3161337B74 for ; Mon, 1 Nov 2010 19:39:06 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 38756-08 for ; Mon, 1 Nov 2010 22:38:59 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from abpni.co.uk (unknown [92.27.106.173]) by mail.postgresql.org (Postfix) with ESMTP id 45C511337B2F for ; Mon, 1 Nov 2010 19:38:58 -0300 (ADT) Received: from [10.87.0.130] ([10.87.0.130]) by abpni.co.uk with Microsoft SMTPSVC(6.0.3790.3959); Mon, 1 Nov 2010 22:38:57 +0000 Message-ID: <4CCF4187.8010205@abpni.co.uk> Date: Mon, 01 Nov 2010 22:39:03 +0000 From: Jonathan Tripathy User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Vick Khera , pgsql-general@postgresql.org Subject: Re: Replication References: <4CCF1AC4.6060800@abpni.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Nov 2010 22:38:57.0234 (UTC) FILETIME=[91FC8B20:01CB7A15] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.212 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FS_REPLICA=3.599, RDNS_NONE=0.793, SARE_SPEC_REPLICA=0.72 X-Spam-Level: *** X-Archive-Number: 201011/88 X-Sequence-Number: 169154 On 01/11/10 21:10, Vick Khera wrote: > On Mon, Nov 1, 2010 at 3:53 PM, Jonathan Tripathy wrote: >> The standby must support INSERTS and UPDATES as well (once the master has >> failed) >> >> Are there any solutions like this? Looking on the Postgresql site, all the >> standby solutions seem to be read only.. > If they are RO it is only while they are replicas, not masters. Once > the server is upgraded to the master role, it becomes RW. > So in the "Hot Standby" setup as described in http://www.postgresql.org/docs/current/static/hot-standby.html , how would I automatically make the slave a master?