Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvMYq-00018k-BA for pgsql-docs@arkaria.postgresql.org; Sun, 29 May 2022 17:18:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nvMYo-0007DL-Ab for pgsql-docs@arkaria.postgresql.org; Sun, 29 May 2022 17:18:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvMYo-0007DC-2w for pgsql-docs@lists.postgresql.org; Sun, 29 May 2022 17:18:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nvMYh-00046k-N5 for pgsql-docs@postgresql.org; Sun, 29 May 2022 17:18:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 24THIT8C3493922; Sun, 29 May 2022 13:18:29 -0400 From: Tom Lane To: Shay Rojansky cc: pgsql-docs@postgresql.org Subject: Re: Incorrect and missing docs for range_intersect_agg In-reply-to: References: Comments: In-reply-to Shay Rojansky message dated "Fri, 27 May 2022 23:35:10 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3493920.1653844709.1@sss.pgh.pa.us> Date: Sun, 29 May 2022 13:18:29 -0400 Message-ID: <3493921.1653844709@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Shay Rojansky 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