Re: Replication - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Replication
Date
Msg-id AANLkTingS59Fep3u-JoDw77oauoqu2inBffPCuCNxxdr@mail.gmail.com
Whole thread Raw
In response to Re: Replication  (Jonathan Tripathy <jonnyt@abpni.co.uk>)
Responses Re: Replication  (Jonathan Tripathy <jonnyt@abpni.co.uk>)
List pgsql-general
On Mon, Nov 1, 2010 at 4:39 PM, Jonathan Tripathy <jonnyt@abpni.co.uk> wrote:
>
> On 01/11/10 21:10, Vick Khera wrote:
>>
>> On Mon, Nov 1, 2010 at 3:53 PM, Jonathan Tripathy<jonnyt@abpni.co.uk>
>>  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?

I think you're looking for this:
http://www.postgresql.org/docs/current/static/warm-standby-failover.html

--
To understand recursion, one must first understand recursion.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: can select contents of view but not view itself, despite indirect membership
Next
From: zab08
Date:
Subject: Re: select problem