Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: pg_primary_conninfo - Mailing list pgsql-hackers

On Dec 28, 2010, at 10:34 AM, Tom Lane <[email protected]> wrote:
> I'm still wondering what's the actual use-case for exposing this inside
> SQL.  Those with a legitimate need-to-know can look at the slave
> server's config files, no?

SQL access is frequently more convenient, though.  Although maybe now that we've made recovery.conf use the GUC lexer
weoughta continue in that vein and expose those parameters as PGC_INTERNAL GUCs rather than inventing a new function
forit... 

...Robert

pgsql-hackers by date:

Previous
From: Azat Khuzhin
Date:
Subject: Re: Bug in configure script for build postgresql
Next
From: Guillaume Lelarge
Date:
Subject: Re: pg_primary_conninfo