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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org, jaime(at)2ndquadrant(dot)com, david(at)fetter(dot)org
Subject: Re: How to reliably detect if it's a promoting standby
Date: 2010-10-20 15:12:37
Message-ID: 4CBF06E5.9030603@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 20.10.2010 18:06, Tatsuo Ishii wrote:
>> This returns 'false' if you're in hot standby mode running against an
>> archive. That seems wrong, I don't think the walreceiver state should
>> play any role in this.
>
> Apart this, I wonder why walsender/walreceiver do not transfer archive
> logs as well.

What do you mean?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2010-10-20 15:14:17 Re: Extensions, this time with a patch
Previous Message Dimitri Fontaine 2010-10-20 15:08:18 Re: Extensions, this time with a patch