Re: [COMMITTERS] pgsql-server/src/backend/catalog aclchk.c

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [COMMITTERS] pgsql-server/src/backend/catalog aclchk.c
Дата
Msg-id Pine.LNX.4.44.0310060812430.2274-100000@peter.localdomain
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql-server/src/backend/catalog aclchk.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [COMMITTERS] pgsql-server/src/backend/catalog aclchk.c  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane writes:

> So an owner can never revoke his own grant options?  That seems
> reasonable offhand, and compatible with our previous notion that
> the owner's ability to GRANT was inherent and nonrevocable.
>
> But I wonder how this squares with the SQL spec...

The root of this problem is that revoking privileges from the owner
doesn't square with the SQL spec in the first place.  Allowing having a
grant option without the privilege is not a state that's supported by the
SQL standard, but it just continues the practice we've always had.  This
patch just takes care that the recursive revoke action is not invoked in
this case.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: extra_float_digits question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: extra_float_digits question