Re: regexp_matches illegally restricts rows -- just a documentation issue?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: regexp_matches illegally restricts rows -- just a documentation issue?
Дата
Msg-id 4BBAC166.2080901@postgresql.org
обсуждение исходный текст
Ответ на regexp_matches illegally restricts rows  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Re: regexp_matches illegally restricts rows -- just a documentation issue?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
On 4/5/10 9:16 PM, Josh Berkus wrote:

> I can't see how this is anything but a bug; as far as I know, nothing in
> the target list is allowed to restrict the number of rows which are
> returned by the query.  We should get 7 rows, 3 of which have an empty
> array or a NULL in the 2nd column.

Just noticed it's a SETOF[] function.  Which makes it odd that I can
call it in the target list at all, but explains the row restriction.

It's still confusing behavior (three regulars on IRC thought it was a
bug too) and users should be warned in the documentation.  Not sure
exactly where, though ... maybe in 9.7?

--Josh Berkus

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: regexp_matches illegally restricts rows
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Re: regexp_matches illegally restricts rows -- just a documentation issue?