Skip site navigation (1) Skip section navigation (2)

Re: pg_last_xlog_receive_location()

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_last_xlog_receive_location()
Date: 2011-03-30 02:42:30
Message-ID: AANLkTikoeX6Hb3sMgwH=hxR8tF5rwwEH8NGJQSBdHLo7@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Wed, Mar 30, 2011 at 11:08 AM, Tatsuo Ishii <ishii(at)postgresql(dot)org> wrote:
> BTW, is there any reliable way to know a standby is promoting to
> primary?

You can know that from the server log. But there is no way to do that
via SQL, I think.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

In response to

Responses

pgsql-hackers by date

Next:From: Tatsuo IshiiDate: 2011-03-30 02:45:00
Subject: Re: pg_last_xlog_receive_location()
Previous:From: Fujii MasaoDate: 2011-03-30 02:39:24
Subject: Re: Problem with streaming replication, backups, and recovery (9.0.x)

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group