Re: multiple SRFs in SELECT clause.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: multiple SRFs in SELECT clause.
Дата
Msg-id 21812.1164653305@sss.pgh.pa.us
обсуждение исходный текст
Ответ на multiple SRFs in SELECT clause.  (Kris Jurka <books@ejurka.com>)
Список pgsql-bugs
Kris Jurka <books@ejurka.com> writes:
> I'm getting some odd results when running two generate_series calls in a
> SELECT ...
> When the row counts differ you get the least common multiple number of
> rows.

Yup, this is the expected or at least historical behavior.  It's not
entirely clear what you *should* get, which is one reason we ought to
deprecate SRFs in SELECT lists.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Thomas H."
Дата:
Сообщение: Re: 8.2rc1: vacuum full fills up disk space
Следующее
От: Ron Mayer
Дата:
Сообщение: Re: Unexpected sort order (suspected bug)