Re: Query on pg_settings view

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Ronen Nofar <ronennofar(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Query on pg_settings view
Date: 2017-11-15 10:16:19
Message-ID: 1510740979.2424.26.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ronen Nofar wrote:
> I have a weird case when running a query on the pg_settings view.
> I have two users, first one is the default user - postgres which is a superuser
> and another one is a role which i had created, i called it test_role and it's not a superuser.
> When I run a select on pg_settings with these two users I recieve different results.

That is intentional, because some settings should only be
visible for superusers, for example everything that has to
do with the operating system (location of configuration file
or socket directories).

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2017-11-15 11:19:26 Re: Query on pg_settings view
Previous Message Vikas Sharma 2017-11-15 09:59:57 Re: PGPool in Master-Master mode, is it possible?