Re: allow select from void function in void sql function - Mailing list pgsql-patches

From Jaime Casanova
Subject Re: allow select from void function in void sql function
Date
Msg-id c2d9e70e0603161956h9c15614u9044ca1990ef8cfe@mail.gmail.com
Whole thread Raw
In response to allow select from void function in void sql function  ("Pavel Stehule" <pavel.stehule@hotmail.com>)
Responses Re: allow select from void function in void sql function
Re: allow select from void function in void sql function
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: farsi translation: file fa_IR.po updated.
Next
From: David Fetter
Date:
Subject: Re: allow select from void function in void sql function