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

From Laurenz Albe
Subject Re: Documentation of return values of range functions lower and upper
Date
Msg-id 16601466752e40543051369fac722c0a200bb4e6.camel@cybertec.at
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  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-docs
On Wed, 2020-11-11 at 18:19 +0100, Laurenz Albe wrote:
> > Table 9.54 in page
> > https://www.postgresql.org/docs/current/functions-range.html states that the
> > functions lower and upper return NULL if the requested bound is infinite. If
> > the element type of the range contains the special values infinity and
> > -infinity, this is not correct, as those values are returned if explicitly
> > used as either bound.
> 
> +1
> 
> Perhaps it would be better to say
> 
>   NULL if the range is empty or has no lower/upper bound

Here is a patch for this.

Yours,
Laurenz Albe

Attachment

pgsql-docs by date:

Previous
From: Fujii Masao
Date:
Subject: doc: index items for pg_stat_progress_xxx views
Next
From: Chris Wilson
Date:
Subject: Re: What does "[backends] should seldom or never need to wait for a write to occur" mean?