allow select from void function in void sql function

From: "Pavel Stehule" <pavel(dot)stehule(at)hotmail(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: allow select from void function in void sql function
Date: 2006-03-16 17:32:12
Message-ID: BAY20-F3EE19CFC8F2ACED5D35A6F9E70@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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

_________________________________________________________________
Emotikony a pozadi programu MSN Messenger ozivi vasi konverzaci.
http://messenger.msn.cz/

Attachment Content-Type Size
void_wrap.dif application/octet-stream 4.0 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2006-03-16 22:52:17 Re: farsi translation: file fa_IR.po updated.
Previous Message Simon Riggs 2006-03-16 15:34:56 Automatically setting work_mem