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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Playing with set returning functions in SELECT list - behaviour intended?
Дата
Msg-id 26500.1245250402@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Playing with set returning functions in SELECT list - behaviour intended?  (David Fetter <david@fetter.org>)
Ответы Re: Playing with set returning functions in SELECT list - behaviour intended?  ("Albe Laurenz" <laurenz.albe@wien.gv.at>)
Список 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 по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Playing with set returning functions in SELECT list - behaviour intended?
Следующее
От: "Todd A. Cook"
Дата:
Сообщение: FYI: Load times for a largish DB in 8.2 vs. 8.3 vs. 8.4