Re: allow select from void function in void sql function

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: allow select from void function in void sql function
Дата
Msg-id c2d9e70e0603161956h9c15614u9044ca1990ef8cfe@mail.gmail.com
обсуждение исходный текст
Ответ на allow select from void function in void sql function  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Ответы Re: allow select from void function in void sql function  (David Fetter <david@fetter.org>)
Re: allow select from void function in void sql function  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Список pgsql-patches
On 3/16/06, Pavel Stehule <pavel.stehule@hotmail.com> wrote:
> Hello
>
> this small patch allow use sql for creating wrappers others void functions.
> Currently void SQL function have to be empty.
>
> create or replace function foo(int) returns void as ' ','' language c ..;
> create or replace function foo() returns void as $$ select foo(10);
> $$language sql;
>
> regards
> Pavel
>

i'm not clear on what the use case of this can be... of course, my
opinion is not very important :)

--
regards,
Jaime Casanova

"What they (MySQL) lose in usability, they gain back in benchmarks, and that's
all that matters: getting the wrong answer really fast."
                           Randal L. Schwartz

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: farsi translation: file fa_IR.po updated.
Следующее
От: David Fetter
Дата:
Сообщение: Re: allow select from void function in void sql function