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

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
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-15 06:03:36
Message-ID: AANLkTimqSjmgqpEnpK3fWyxVo2z52J7Q1XuOGVUwOwre@mail.gmail.com
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?

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte y capacitación de PostgreSQL

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2010-10-15 06:36:30 Re: [GENERAL] pg_filedump binary for CentOS
Previous Message David Fetter 2010-10-15 06:02:46 Re: [GENERAL] pg_filedump binary for CentOS