Re: pg_primary_conninfo - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_primary_conninfo
Date
Msg-id 4DB60C33-B2BA-4DBA-AFA6-3B225AF2D075@gmail.com
Whole thread Raw
In response to Re: pg_primary_conninfo  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_primary_conninfo  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: pg_primary_conninfo  (Gurjeet Singh <singh.gurjeet@gmail.com>)
Re: pg_primary_conninfo  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Dec 28, 2010, at 10:34 AM, Tom Lane <tgl@sss.pgh.pa.us> 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