Skip site navigation (1) Skip section navigation (2)

Re: allow select from void function in void sql function

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: (view raw or whole 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 :)

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

In response to


pgsql-patches by date

Next:From: Qingqing ZhouDate: 2006-03-17 05:29:05
Subject: Re: Automatically setting work_mem
Previous:From: Peter EisentrautDate: 2006-03-16 22:52:17
Subject: Re: farsi translation: file fa_IR.po updated.

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group