pg_primary_conninfo

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_primary_conninfo
Date: 2010-12-28 13:31:56
Message-ID: AANLkTi=f18RwsSQma0QDJXqeOPMaj-Xx8_Dfh3vL9wej@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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).

Objections?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment Content-Type Size
pg_primary_conninfo.patch text/x-patch 3.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-12-28 13:37:00 Re: UPDATE pg_catalog.pg_proc.prosrc OK?
Previous Message Heikki Linnakangas 2010-12-28 13:28:27 Re: UPDATE pg_catalog.pg_proc.prosrc OK?