Re: Latest requests from IRC - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: Latest requests from IRC
Date
Msg-id Pine.LNX.4.58.0405240858220.4098@sablons.cri.ensmp.fr
Whole thread Raw
In response to Re: Latest requests from IRC  (Bruce Momjian <pgman@candle.pha.pa.us>)
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Buffer manager (was Re: relcache refcount)
Next
From: Mark Kirkwood
Date:
Subject: Re: