Re: GRANT ON ALL IN schema - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GRANT ON ALL IN schema
Date
Msg-id 13473.1250349081@sss.pgh.pa.us
Whole thread Raw
In response to Re: GRANT ON ALL IN schema  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Pavel Stehule wrote:
>> why we need DO statement? Why not just $$ $$. Only string literal
>> cannot be statement too, so DO is unnecessary.

> I'm also not sure I want to be trying to execute any arbitrary string 
> that accidentally gets placed there because someone forgot to put a 
> keyword or accidentally deleted it.

That's my feeling as well.  Also, I don't think it is sane to allow
options (like "LANGUAGE foo") on a standalone string constant.  Yeah,
we could persuade bison to do it, but that doesn't make it a good idea.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: GRANT ON ALL IN schema
Next
From: Markus Wanner
Date:
Subject: Re: postgres-r