pg.ddx.io pgsql-docs@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Bruce Momjian <bruce@momjian.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: jani.rahkola@iki.fi
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Documentation of return values of range functions lower and upper
Date: Mon, 13 Nov 2023 16:08:13 -0500
Message-ID: <ZVKQPQpo71JeGyQz@momjian.us> (raw )
In-Reply-To: <ZUQhQ9pJrY4ennXy@momjian.us >
References: <16601466752e40543051369fac722c0a200bb4e6.camel@cybertec.at >
<27d690d8-0987-5f2b-a2da-fc2ec7c19e3c@oss.nttdata.com >
<02f3fa3a592fa6c1f8ec1a9f539ae376f744eb42.camel@cybertec.at >
<ZUK0-gzxmfHdDila@momjian.us >
<a0f9f8fa5de833acd7cf9e74352ef347ade6572d.camel@cybertec.at >
<ZULLQ0Zycz8PmfsT@momjian.us >
<ed4f1dcba4aa0f1f00023a9346e2f925f3cc62c8.camel@cybertec.at >
<ZUOu4maaCXivToUE@momjian.us >
<687683a11c0d8bd0466cedbcb99d098c11f31f97.camel@cybertec.at >
<ZUQhQ9pJrY4ennXy@momjian.us >
On Thu, Nov 2, 2023 at 06:22:59PM -0400, Bruce Momjian wrote:
> 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.
Backpatched to PG 16.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Only you can decide what is important to you.
view thread (14+ messages) latest in thread
Message-ID: <ZVKQPQpo71JeGyQz@momjian.us>
Permalink: ../ZVKQPQpo71JeGyQz@momjian.us/
Also on: postgresql.org/message-id/ZVKQPQpo71JeGyQz@momjian.us
copy link · copy postgr.es
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: bruce@momjian.us, laurenz.albe@cybertec.at, masao.fujii@oss.nttdata.com, jani.rahkola@iki.fi, pgsql-docs@lists.postgresql.org
Subject: Re: Documentation of return values of range functions lower and upper
In-Reply-To: <ZVKQPQpo71JeGyQz@momjian.us>
* 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