Re: Set-returning functions only allowed if written in language 'sql'

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Daniel Migowski <dmigowski(at)ikoffice(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Set-returning functions only allowed if written in language 'sql'
Date: 2009-02-10 09:46:44
Message-ID: 20090210094644.GB15903@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2009-02-10 09:54:41 Re: Set-returning functions only allowed if written in language 'sql'
Previous Message Daniel Migowski 2009-02-10 00:04:02 Set-returning functions only allowed if written in language 'sql'