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

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 (view raw or flat)
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: pg_primary_conninfo.patch
Description: text/x-patch (3.6 KB)

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-12-28 13:37:00
Subject: Re: UPDATE pg_catalog.pg_proc.prosrc OK?
Previous:From: Heikki LinnakangasDate: 2010-12-28 13:28:27
Subject: Re: UPDATE pg_catalog.pg_proc.prosrc OK?

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