Re: pg_primary_conninfo - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_primary_conninfo
Date
Msg-id 19649.1293550493@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_primary_conninfo  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pg_primary_conninfo  (Guillaume Lelarge <guillaume@lelarge.info>)
Re: pg_primary_conninfo  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Dec 28, 2010 3:58 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
>> What's the use case?  And aren't there security reasons to NOT expose
>> that?  It might contain a password for instance.

> Good point - should be made superuser only.

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?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Joachim Wieland
Date:
Subject: Re: page compression
Next
From: Karl Lehenbauer
Date:
Subject: Patch to add table function support to PL/Tcl (Todo item)