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

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 (view raw, whole thread or download thread mbox)
Lists: pgsql-patches

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;


Emotikony a pozadi programu MSN Messenger ozivi vasi konverzaci.

Attachment: void_wrap.dif
Description: application/octet-stream (4.0 KB)


pgsql-patches by date

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

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