Re: information schema/aclexplode doesn't know about default privileges

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: information schema/aclexplode doesn't know about default privileges
Дата
Msg-id 9B7F4E16-F517-4086-AA8A-939D9A642E3C@nasby.net
обсуждение исходный текст
Ответ на Re: information schema/aclexplode doesn't know about default privileges  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Jan 1, 2012, at 10:43 PM, Peter Eisentraut wrote:
> I figured the best and most flexible way to address this is to export
> acldefault() as an SQL function and replace
>
>    aclexplode(proacl)
>
> with
>
>    aclexplode(coalesce(proacl, acldefault('f', proowner)))

It would be nice to provide a convenience function that does the coalesce for you. End users sometimes need this stuff
aswell as info_schema. 
--
Jim C. Nasby, Database Architect                   jim@nasby.net
512.569.9461 (cell)                         http://jim.nasby.net




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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Should I implement DROP INDEX CONCURRENTLY?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Should I implement DROP INDEX CONCURRENTLY?