Re: Set-returning functions only allowed if written in language 'sql' - Mailing list pgsql-bugs

From hubert depesz lubaczewski
Subject Re: Set-returning functions only allowed if written in language 'sql'
Date
Msg-id 20090210094644.GB15903@depesz.com
Whole thread Raw
In response to Set-returning functions only allowed if written in language 'sql'  (Daniel Migowski <dmigowski@ikoffice.de>)
List pgsql-bugs
On Tue, Feb 10, 2009 at 01:04:02AM +0100, Daniel Migowski wrote:
> SELECT y(); -- fails with:

when you return set, you should use:
select * from y();

select function() is additional feature of sql functions.

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

pgsql-bugs by date:

Previous
From: Daniel Migowski
Date:
Subject: Set-returning functions only allowed if written in language 'sql'
Next
From: Pavel Stehule
Date:
Subject: Re: Set-returning functions only allowed if written in language 'sql'