Re: Playing with set returning functions in SELECT list - behaviour intended? - Mailing list pgsql-general

From Tom Lane
Subject Re: Playing with set returning functions in SELECT list - behaviour intended?
Date
Msg-id 26500.1245250402@sss.pgh.pa.us
Whole thread Raw
In response to Re: Playing with set returning functions in SELECT list - behaviour intended?  (David Fetter <david@fetter.org>)
Responses Re: Playing with set returning functions in SELECT list - behaviour intended?
List pgsql-general
David Fetter <david@fetter.org> writes:
> On Tue, Jun 16, 2009 at 10:06:54AM -0400, Tom Lane wrote:
>> It's always been that way.  The lack of any obviously-sane way to
>> handle multiple SRFs in a targetlist is exactly why the feature is
>> looked on with disfavor.

> I must be missing something obvious.  Isn't the nested loop thing that
> happens with generate_series() pretty sane?

You've carefully chosen a case in which the LCM is also the product.
Try some other combinations of periods and see if you still think
it's sane.

            regards, tom lane

pgsql-general by date:

Previous
From: David Fetter
Date:
Subject: Re: Playing with set returning functions in SELECT list - behaviour intended?
Next
From: "Todd A. Cook"
Date:
Subject: FYI: Load times for a largish DB in 8.2 vs. 8.3 vs. 8.4