Re: How to reliably detect if it's a promoting standby - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: How to reliably detect if it's a promoting standby
Date
Msg-id 20101017.102708.949267780581233573.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: How to reliably detect if it's a promoting standby  (Jaime Casanova <jaime@2ndquadrant.com>)
Responses Re: How to reliably detect if it's a promoting standby
List pgsql-hackers
> On Thu, Oct 14, 2010 at 7:35 PM, Tatsuo Ishii <ishii@postgresql.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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: knngist - 0.8
Next
From: Robert Haas
Date:
Subject: Re: knngist - 0.8