Re: set returning function

From: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org, <airbaggins(at)yahoo(dot)co(dot)uk>
Subject: Re: set returning function
Date: 2005-05-09 16:58:39
Message-ID: Pine.LNX.4.44.0505091853470.7072-100000@zigo.dhs.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, 9 May 2005, Tom Lane wrote:

> > Bug?
>
> Unimplemented feature.

Is

SELECT 42, srf();

the same as

SELECT 42, * FROM srf();

?

In my view the first version is an error. It's not like you can put a
normal table in the select list, so why can we put a set returning
function there? Ie, is it really a feature?

--
/Dennis Björklund

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-05-09 17:02:22 Re: set returning function
Previous Message Emanuel Brokmann 2005-05-09 16:14:02 BUG #1655: trapping errors doesn't work