Re: exposing pg_controldata and pg_config as functions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: exposing pg_controldata and pg_config as functions
Date
Msg-id 4175.1455747271@sss.pgh.pa.us
Whole thread Raw
In response to Re: exposing pg_controldata and pg_config as functions  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: exposing pg_controldata and pg_config as functions
Re: exposing pg_controldata and pg_config as functions
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On 2/17/16 12:15 PM, Joe Conway wrote:
>> Ok, removed the documentation on the function pg_config() and pushed.

> I still have my serious doubts about this, especially not even requiring
> superuser access for this information.  Could someone explain why we
> need this?

I thought we'd agreed on requiring superuser access for this function.
I concur that letting just anyone see the config data is inappropriate.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: [patch] Proposal for \crosstabview in psql
Next
From: Jim Nasby
Date:
Subject: Re: a raft of parallelism-related bug fixes