Re: psql tab completion for GRANT role

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: psql tab completion for GRANT role
Дата
Msg-id CA+TgmoYPik3gW8J_TCR0FETXBDZz3J6XPbpu6Qi=S0U5MUmOXQ@mail.gmail.com
обсуждение исходный текст
Ответ на psql tab completion for GRANT role  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: psql tab completion for GRANT role  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Sun, Jan 8, 2012 at 3:48 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
> psql tab completion currently only supports the form GRANT privilege ON
> something TO someone (and the analogous REVOKE), but not the form GRANT
> role TO someone.  Here is a patch that attempts to implement the latter.

This seems to have fallen through the cracks.  It doesn't apply any
more, but one general comment is that it seems undesirable to
repeatedly recapitulate the list of all privileges that exist in the
system.  That's a lot of places that someone will have to find and fix
when new privileges are added.

But +1 on the general idea.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Namespace of array of user defined types is confused by the parser in insert?
Следующее
От: Gurjeet Singh
Дата:
Сообщение: Re: Patch pg_is_in_backup()