Re: Document if width_bucket's low and high are inclusive/exclusive - Mailing list pgsql-docs

From Tom Lane
Subject Re: Document if width_bucket's low and high are inclusive/exclusive
Date
Msg-id 1167135.1750277532@sss.pgh.pa.us
Whole thread Raw
In response to Re: Document if width_bucket's low and high are inclusive/exclusive  (Robert Treat <rob@xzilla.net>)
List pgsql-docs
Robert Treat <rob@xzilla.net> writes:
> On Fri, Feb 28, 2025 at 7:15 AM Ben Peachey Higdon
> <bpeacheyhigdon@gmail.com> wrote:
>> The current documentation for width_bucket (https://www.postgresql.org/docs/current/functions-math.html) does not
mentionif the range’s low and high are inclusive or exclusive. 

> I'm not sure it's the most ground breaking thing, but would probably
> save a bunch of future people from having to gin up an example to test
> it, so I'd probably update it per the following patch.

Seems reasonable, but do we need to do anything with the other
version of width_bucket (the one taking an array of lower bounds)?
Perhaps this change provides enough context, but I'm unsure.

            regards, tom lane



pgsql-docs by date:

Previous
From: Robert Treat
Date:
Subject: Re: Mention GIN indexes support parallel builds.
Next
From: Fujii Masao
Date:
Subject: Re: Mention GIN indexes support parallel builds.