Re: Documentation of return values of range functions lower and upper - Mailing list pgsql-docs

From Bruce Momjian
Subject Re: Documentation of return values of range functions lower and upper
Date
Msg-id ZUQhQ9pJrY4ennXy@momjian.us
Whole thread Raw
In response to Re: Documentation of return values of range functions lower and upper  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Documentation of return values of range functions lower and upper
List pgsql-docs
On Thu, Nov  2, 2023 at 03:42:53PM +0100, Laurenz Albe wrote:
> On Thu, 2023-11-02 at 10:14 -0400, Bruce Momjian wrote:
> > Better, though "Is the range's upper bound unbounded?" makes me cringe.
> > 
> > Oh, yeah, totally cringe, me too.  :-)
> > 
> > > It is not the bound that is bounded or not, but the range.
> > > 
> > > How about "Is the range unbounded at the upper end?" or "Does the range
> > > have no upper bound?"
> > 
> > I used your "end" idea to modify the patch, attached.
> 
> There are still some loose ends:
> 
> - you lost the specification whether it is the upper or the lower bound
> 
> - "Infinity" is a literal
> 
> - "-Infinity" is a very unlikely value for an upper bound
> 
> How about the attached version?

Agreed, yours is much better.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.



pgsql-docs by date:

Previous
From: Phil Eaton
Date:
Subject: Add minimal C example and SQL registration example for custom table access methods.
Next
From: Bruce Momjian
Date:
Subject: Re: Document target_role param of ALTER DEFAULT PRIVILEGES