Re: [GENERAL] Query on pg_settings view

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: [GENERAL] Query on pg_settings view
Дата
Msg-id 1510740979.2424.26.camel@cybertec.at
обсуждение исходный текст
Ответ на [GENERAL] Query on pg_settings view  (Ronen Nofar <ronennofar@gmail.com>)
Ответы Re: [GENERAL] Query on pg_settings view  (Stephen Frost <sfrost@snowman.net>)
Список 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


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

В списке pgsql-general по дате отправления:

Предыдущее
От: Vikas Sharma
Дата:
Сообщение: Re: [GENERAL] PGPool in Master-Master mode, is it possible?
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [GENERAL] Query on pg_settings view