Remove superuser() checks from pgstattuple

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Remove superuser() checks from pgstattuple
Дата
Msg-id 20160823212243.GJ4028@tamriel.snowman.net
обсуждение исходный текст
Ответы Re: Remove superuser() checks from pgstattuple  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
Greetings,

Attached is an rebased and updated patch to remove the explicit
superuser() checks from the contrib extension pgstattuple, in favor of
using the GRANT system to control access, and give the admin flexibility
to GRANT access to this function without having to write wrapper
functions, similar to what was been done with the backend functions.

This, naturally, REVOKE's EXECUTE from public on installation for these
functions.

Prior discussion was on this thread:

20160408214511.GQ10850@tamriel.snowman.net

but it seemed prudent to open a new thread, to avoid anyone missing that
this isn't about default roles (which was the subject of that thread).

Thanks!

Stephen

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: dump/restore doesn't preserve row ordering?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: dump/restore doesn't preserve row ordering?