Re: GRANT ON ALL IN schema

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GRANT ON ALL IN schema
Дата
Msg-id 395.1250439160@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GRANT ON ALL IN schema  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: GRANT ON ALL IN schema  (Petr Jelinek <pjmodos@pjmodos.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On sön, 2009-08-16 at 00:04 -0400, Andrew Dunstan wrote:
>> SQL is not Lisp. Simple is  good. I didn't think Peter was really very 
>> serious.

> Well, I don't know if we really need to call it "lambda", but I fully
> expect to be able to use these "ad hoc functions" as part of other
> expressions.

Why would you expect that?  To be used in an expression, you'd also need
decoration to tell the function argument types, result type, volatility
properties, etc etc (your proposed lambda notation is far too
simplistic).  I think you're moving the goalposts to a point where we'd
need ANOTHER, simpler, mechanism to accomplish the original intent.
And frankly, all of the user demand I've heard is for the latter not
the former.  By the time you get into specifying function properties
you might as well just create a function.
        regards, tom lane


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

Предыдущее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: Split-up ECPG patches
Следующее
От: Tom Lane
Дата:
Сообщение: Re: drop tablespace error: invalid argument