Обсуждение: Incorrect and missing docs for range_intersect_agg

Поиск
Список
Период
Сортировка

Incorrect and missing docs for range_intersect_agg

От
Shay Rojansky
Дата:
Hi all,

range_intersect_agg is documented to return anymultirange (on this page[1]), but it actually returns a range.

In addition, range_intersect_agg also accepts a multirange as its parameter, but that's not documented on the same page. Note that range_agg does *not* accept a multirange (possibly already added for PG15, see this[2]).

Thanks,

Shay

Re: Incorrect and missing docs for range_intersect_agg

От
Tom Lane
Дата:
Shay Rojansky <roji@roji.org> writes:
> range_intersect_agg is documented to return anymultirange (on this
> page[1]), but it actually returns a range.

The form with anyrange input, yeah.

> In addition, range_intersect_agg also accepts a multirange as its
> parameter, but that's not documented on the same page.

Hmm, this was fixed recently in HEAD, but it should have been
back-patched to v14 and was not.

Will fix, thanks for noticing!

            regards, tom lane