[PATCHES] allow select from void function in void sql function

2006-03-16 Thread Pavel Stehule
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;

Re: [PATCHES] allow select from void function in void sql function

2006-03-16 Thread Jaime Casanova
On 3/16/06, Pavel Stehule [EMAIL PROTECTED] 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()

Re: [PATCHES] allow select from void function in void sql function

2006-03-16 Thread David Fetter
On Thu, Mar 16, 2006 at 10:56:43PM -0500, Jaime Casanova wrote: On 3/16/06, Pavel Stehule [EMAIL PROTECTED] 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)

Re: [PATCHES] allow select from void function in void sql function

2006-03-16 Thread Pavel Stehule
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