Re: Role syntax (or, SQL99 versus sanity) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Role syntax (or, SQL99 versus sanity)
Date
Msg-id 22208.1119981365@sss.pgh.pa.us
Whole thread Raw
In response to Re: Role syntax (or, SQL99 versus sanity)  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> Is there some way we could use that 'ON' is required for the
> 'privileges' grant?

Well, the difficulty is that we can't see the ON until we've scanned
the list of privilege or role names.  Now that I've calmed down a bit,
the solution is fairly obvious: the name list has to be left as strings
during the grammar.  We'll check the privilege names for validity at
execution.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Occupied port warning
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Users/Groups -> Roles