Re: GRANT ON ALL IN schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GRANT ON ALL IN schema
Дата
Msg-id 13473.1250349081@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GRANT ON ALL IN schema  (Andrew Dunstan <andrew@dunslane.net>)
Список 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 по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: GRANT ON ALL IN schema
Следующее
От: Markus Wanner
Дата:
Сообщение: Re: postgres-r