Re: Change Ownership Permission Checks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Change Ownership Permission Checks
Дата
Msg-id 4971.1121377777@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Change Ownership Permission Checks  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Change Ownership Permission Checks
Список pgsql-patches
Stephen Frost <sfrost@snowman.net> writes:
>   Attached please find a patch to change how the permissions checking
>   for alter-owner is done.  With roles there can be more than one
>   'owner' of an object and therefore it becomes sensible to allow
>   specific cases of ownership change for non-superusers.

Applied with minor revisions.  The patch as submitted suffered a certain
amount of copy-and-paste-itis (eg, trying to use pg_type_ownercheck on
an opclass), and I really disliked using ACLCHECK_NOT_OWNER as the way
to report "you can't assign ownership to that role because you are not
a member of it".  So I made a separate error message for that case.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: thousands comma numeric formatting in psql
Следующее
От: Titus von Boxberg
Дата:
Сообщение: Re: PL/PGSQL: Dynamic Record Introspection