public inbox for [email protected]  
help / color / mirror / Atom feed
From: Shay Rojansky <[email protected]>
To: [email protected]
Subject: Incorrect and missing docs for range_intersect_agg
Date: Fri, 27 May 2022 23:35:10 +0200
Message-ID: <CADT4RqAktzP7t6SFf0Xqm9YhahzvsmxFbzXe-gFOd=+_CHm0JA@mail.gmail.com> (raw)

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


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Incorrect and missing docs for range_intersect_agg
  In-Reply-To: <CADT4RqAktzP7t6SFf0Xqm9YhahzvsmxFbzXe-gFOd=+_CHm0JA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox