public inbox for [email protected]
help / color / mirror / Atom feedIncorrect and missing docs for range_intersect_agg
2+ messages / 2 participants
[nested] [flat]
* Incorrect and missing docs for range_intersect_agg
@ 2022-05-27 21:35 Shay Rojansky <[email protected]>
2022-05-29 17:18 ` Re: Incorrect and missing docs for range_intersect_agg Tom Lane <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Shay Rojansky @ 2022-05-27 21:35 UTC (permalink / raw)
To: pgsql-docs
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
[1] https://www.postgresql.org/docs/current/functions-aggregate.html
[2]
https://www.mail-archive.com/[email protected]/msg105057.html
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Incorrect and missing docs for range_intersect_agg
2022-05-27 21:35 Incorrect and missing docs for range_intersect_agg Shay Rojansky <[email protected]>
@ 2022-05-29 17:18 ` Tom Lane <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2022-05-29 17:18 UTC (permalink / raw)
To: Shay Rojansky <[email protected]>; +Cc: pgsql-docs
Shay Rojansky <[email protected]> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-05-29 17:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-05-27 21:35 Incorrect and missing docs for range_intersect_agg Shay Rojansky <[email protected]>
2022-05-29 17:18 ` Tom Lane <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox