Re: pg_primary_conninfo

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_primary_conninfo
Date: 2010-12-28 13:38:13
Message-ID: AANLkTinR1GJMdT6BefVFaEN185q0o57TxNJGiER=+dwJ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 28, 2010 at 8:31 AM, Magnus Hagander <magnus(at)hagander(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-12-28 13:39:20 Re: Function for dealing with xlog data
Previous Message Robert Haas 2010-12-28 13:37:00 Re: UPDATE pg_catalog.pg_proc.prosrc OK?