Re: Hiding name and version

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Hiding name and version
Дата
Msg-id 16006.1442513688@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Hiding name and version  ("Quiroga, Damian" <damian.quiroga@intel.com>)
Список pgsql-general
"Quiroga, Damian" <damian.quiroga@intel.com> writes:
> I've tried something like "REVOKE EXECUTE ON FUNCTION version() FROM someuser;" and it doesn't work.
> Apparently you can only revoke permissions that you have explicitly granted before.

The default behavior for built-in functions is as though the bootstrap
superuser has granted execute access to PUBLIC.  You would need to
reverse that (and then grant it back to any non-superusers who
should have it).

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Hiding name and version
Следующее
От: Florin Andrei
Дата:
Сообщение: Re: BDR: cannot drop database even after parting the node