Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2eAS-000BSw-7S for pgsql-docs@arkaria.postgresql.org; Mon, 13 Nov 2023 21:08:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r2eAQ-001jyI-3m for pgsql-docs@arkaria.postgresql.org; Mon, 13 Nov 2023 21:08:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2eAP-001jxq-SR for pgsql-docs@lists.postgresql.org; Mon, 13 Nov 2023 21:08:21 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2eAN-006HWH-7n for pgsql-docs@lists.postgresql.org; Mon, 13 Nov 2023 21:08:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=FX0id/qXPED5Gf/ZY7VlQzg6OxvNRvpnivPcMBhST/M=; b=FmOfyA23oP3OZ8PasdoVAoFbU5 skcFfVgGYqzaeCgaskyXA0n6rIwNw1HE+sFQfpAfsyNaHtDXr06s2xdM+d3njPJ0sh6xddMn4YZWW IassBFPS4lsRii+N/jGsV4JgrqItEYY7qIngDMh0dfzoOlksjjpTK+ZsJJWVeBbUZ7ZtQz1EggSsl JdLnmuI8BieqG/8M1nD52Y88xjDiUDgYVo3zSPL9eJts0395RsBgQGjt9U4GbCJYbQJr24vzRZ/9z mGxsrSvE4NOSsXnP4wnE66GVm7iPrW3HfGdOVOPE9JkegJwGnz1EHam7Ddb4K3RKiaRBcudidydDS zYGYYFag==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1r2eAH-00GqmC-2Y; Mon, 13 Nov 2023 16:08:13 -0500 Date: Mon, 13 Nov 2023 16:08:13 -0500 From: Bruce Momjian To: Laurenz Albe Cc: Fujii Masao , jani.rahkola@iki.fi, pgsql-docs@lists.postgresql.org Subject: Re: Documentation of return values of range functions lower and upper Message-ID: References: <16601466752e40543051369fac722c0a200bb4e6.camel@cybertec.at> <27d690d8-0987-5f2b-a2da-fc2ec7c19e3c@oss.nttdata.com> <02f3fa3a592fa6c1f8ec1a9f539ae376f744eb42.camel@cybertec.at> <687683a11c0d8bd0466cedbcb99d098c11f31f97.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.