Re: Latest requests from IRC

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Latest requests from IRC
Дата
Msg-id Pine.LNX.4.58.0405240858220.4098@sablons.cri.ensmp.fr
обсуждение исходный текст
Ответ на Re: Latest requests from IRC  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Just my two pence contribution:

>     * Allow GRANT/REVOKE permissions to be given to all schema
>       objects with one command
>
> >     GRANT SELECT ON TABLE myschema.* TO foo

As for the style of the syntax, maybe one could consider to reuse
already available sql regexpr rather than import shell-like regexpr?

GRANT SELECT ON TABLE 'myschema.%' TO calvin;

Also, there is no reason why the schema themselves could not been
fixed similarly:

REVOKE ALL FROM SCHEMA 'abc%' FROM hobbes;

On the other hand, having actual sql regexpr may make a potential
implementation harder wrt just handling a 'myschema.*' special case.


Have a nice day,

-- 
Fabien.


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Buffer manager (was Re: relcache refcount)
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: