| From: | "Jaime Casanova" <systemguards(at)gmail(dot)com> |
|---|---|
| To: | "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com> |
| Cc: | pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: allow select from void function in void sql function |
| Date: | 2006-03-17 03:56:43 |
| Message-ID: | c2d9e70e0603161956h9c15614u9044ca1990ef8cfe@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
On 3/16/06, Pavel Stehule <pavel(dot)stehule(at)hotmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Qingqing Zhou | 2006-03-17 05:29:05 | Re: Automatically setting work_mem |
| Previous Message | Peter Eisentraut | 2006-03-16 22:52:17 | Re: farsi translation: file fa_IR.po updated. |