pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: jani.rahkola@iki.fi
To: pgsql-docs@lists.postgresql.org
Subject: Re: Documentation of return values of range functions lower and upper
Date: Wed, 11 Nov 2020 18:19:38 +0100
Message-ID: <53ec9f116bea9252d7fa9341e024530553656c42.camel@cybertec.at> (raw)
In-Reply-To: <160508672127.25505.8356390205508789564@wrigleys.postgresql.org>
References: <160508672127.25505.8356390205508789564@wrigleys.postgresql.org>

On Wed, 2020-11-11 at 09:25 +0000, PG Doc comments form 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

Yours,
Laurenz Albe






view thread (14+ messages)  latest in thread

Message-ID: <53ec9f116bea9252d7fa9341e024530553656c42.camel@cybertec.at>
Permalink:  ../53ec9f116bea9252d7fa9341e024530553656c42.camel@cybertec.at/
Also on:    postgresql.org/message-id/53ec9f116bea9252d7fa9341e024530553656c42.camel@cybertec.at

 · 

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: pgsql-docs@postgresql.org
  Cc: laurenz.albe@cybertec.at, jani.rahkola@iki.fi, pgsql-docs@lists.postgresql.org
  Subject: Re: Documentation of return values of range functions lower and upper
  In-Reply-To: <53ec9f116bea9252d7fa9341e024530553656c42.camel@cybertec.at>

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

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