Re: multiple CREATE FUNCTION AS items for PLs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: multiple CREATE FUNCTION AS items for PLs
Дата
Msg-id 1355693132.4311.17.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: multiple CREATE FUNCTION AS items for PLs  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, 2012-12-16 at 13:03 -0500, Tom Lane wrote:
> Sure, but wouldn't it be cleaner to do that via some language-specific
> syntax inside the function string?  I'm imagining some syntax like
> 
>         CREATE FUNCTION ... AS $$
>         global[ some definitions here ]
>         function code here
>         $$;
> 
> where the PL would be responsible for pulling off the "global" chunk
> and structuring what it outputs accordingly.

But then the language text wouldn't be Python anymore.




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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: index support for regexp search
Следующее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: Doc patch, further describe and-mask nature of the permission system