Re: How to reliably detect if it's a promoting standby

From: Tatsuo Ishii <ishii(at)sraoss(dot)co(dot)jp>
To: jaime(at)2ndquadrant(dot)com
Cc: david(at)fetter(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: How to reliably detect if it's a promoting standby
Date: 2010-10-17 01:27:08
Message-ID: 20101017.102708.949267780581233573.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Thu, Oct 14, 2010 at 7:35 PM, Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
>>> What new public interfaces do you think are needed for 9.1 in this
>>> regard?
>>
>> At this point I'm thinking of modifying existing pg_is_in_recovery(),
>> thus 0 new public interface.
>
> pg_is_in_recovery() returns a bool, are you proposing to change that?

No. I just thought about adding more condition when it returns true.
--
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 Robert Haas 2010-10-17 01:54:57 Re: knngist - 0.8
Previous Message Robert Haas 2010-10-17 01:25:34 Re: knngist - 0.8