Re: pg_primary_conninfo - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_primary_conninfo
Date
Msg-id AANLkTinR1GJMdT6BefVFaEN185q0o57TxNJGiER=+dwJ@mail.gmail.com
Whole thread Raw
In response to pg_primary_conninfo  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pg_primary_conninfo  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Tue, Dec 28, 2010 at 8:31 AM, Magnus Hagander <magnus@hagander.net> wrote:
> Attached patch implements a function called pg_primary_conninfo() that
> returns, well, the primary_conninfo used on the standby when in
> streaming replication mode (otherwise NULL).

+1.  Let's make sure to explicitly document what this function returns
when recovery was previous in progress, but we are now in normal
running.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: UPDATE pg_catalog.pg_proc.prosrc OK?
Next
From: Robert Haas
Date:
Subject: Re: Function for dealing with xlog data