Re: [BUGS] BUG #14648: counts for queries using array unnesting is incorrect

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14648: counts for queries using array unnesting is incorrect
Дата
Msg-id 14109.1494860266@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14648: counts for queries using array unnesting is incorrect  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> Yes, its intentional, and it isn't specific to just the unnest function so
> documenting it just there doesn't seem correct.  I don't know where it is
> documented but I suspect that even just reading the documentation for this
> would be of minimal help - I think its likely best learned after
> experiencing the aforementioned problem.

https://www.postgresql.org/docs/current/static/xfunc-sql.html#XFUNC-SQL-FUNCTIONS-RETURNING-SET

The last example in section 36.4.8 covers this specifically.

I've felt more than once that having these sorts of details about function
semantics underneath the "extending SQL" chapter isn't right, but I'm not
sure what organization would be better.  A lot of the examples would be
tough to do without use of custom-made functions.
        regards, tom lane


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [BUGS] BUG #14648: counts for queries using array unnesting is incorrect
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [BUGS] BUG #14655: PostgreSQL 9.6 not compatible with QTS latest release