Re: pg_ctl failover Re: Latches, signals, and waiting

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: masao(dot)fujii(at)gmail(dot)com
Cc: magnus(at)hagander(dot)net, ishii(at)postgresql(dot)org, heikki(dot)linnakangas(at)enterprisedb(dot)com, itagaki(dot)takahiro(at)gmail(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_ctl failover Re: Latches, signals, and waiting
Date: 2011-01-28 08:40:13
Message-ID: 20110128.174013.1108826596365719190.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Fri, Jan 28, 2011 at 4:57 PM, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>> On Fri, Jan 28, 2011 at 08:44, Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
>>>>> I did s/failover/promote. Here is the updated patch.
>>>>
>>>> I rebased the patch to current git master.
>>>
>>> I'm thinking about implementing a function which does a promotion for
>>> the standby. It will make pgpool lot easier to control the promotion
>>> since it allow to fire the promotion operation (either creating a
>>> trigger file or sending a signal) via SQL, not ssh etc.
>>
>> I agree that having this available via SQL would be useful in a number
>> of cases. pgpool or such being one, but also for example pgadmin.
>
> Agreed. I submitted the patch before, but I forgot to update it
> and add it to CF.
> http://archives.postgresql.org/message-id/AANLkTimuHbxbuM+zLkaEX3aDqSeiMUE3xb4ww1QtsLmf@mail.gmail.com

Great!
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2011-01-28 09:03:32 Re: Extensions support for pg_dump, patch v27
Previous Message Fujii Masao 2011-01-28 08:33:50 Re: pg_ctl failover Re: Latches, signals, and waiting