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

Re: Set-returning functions only allowed if written inlanguage '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 inlanguage 'sql'
Date: 2009-02-10 09:46:44
Message-ID: 20090210094644.GB15903@depesz.com (view raw or flat)
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

pgsql-bugs by date

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

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