public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ian Lawrence Barwick <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: docs: minor typo fix for "lower(anymultirange)"
Date: Thu, 25 Apr 2024 09:39:47 +0900
Message-ID: <CAB8KJ=i-rFQ=YcXztT3S5wS9SCfm+gQ+G6moO1JziHGSZ0gLwg@mail.gmail.com> (raw)

Hi

Here:

     https://www.postgresql.org/docs/current/functions-range.html#MULTIRANGE-FUNCTIONS-TABLE

the description for "lower(anymultirange)":

> (NULL if the multirange is empty has no lower bound).

is missing "or" and should be:

> (NULL if the multirange is empty or has no lower bound).

Seems to have been omitted with 7539a1b2 (REL_16_STABLE + master).

Very minor issue, but I have seen it and can no longer unsee it.

Regards

Ian Barwick


Attachments:

  [text/x-patch] v1-0001-doc-fix-lower-anymultirange-description.patch (910B, ../CAB8KJ=i-rFQ=YcXztT3S5wS9SCfm+gQ+G6moO1JziHGSZ0gLwg@mail.gmail.com/2-v1-0001-doc-fix-lower-anymultirange-description.patch)
  download | inline diff:
From e444498ee3934cd8d7360388d02b79b880c328f0 Mon Sep 17 00:00:00 2001
From: Ian Barwick <[email protected]>
Date: Thu, 25 Apr 2024 09:29:30 +0900
Subject: [PATCH v1] doc: fix "lower ( anymultirange )" description

Add missing "or".
---
 doc/src/sgml/func.sgml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ebcd936acb..a46530abee 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -21298,7 +21298,7 @@ SELECT NULLIF(value, '(none)') ...
        </para>
        <para>
         Extracts the lower bound of the multirange (<literal>NULL</literal> if the
-        multirange is empty has no lower bound).
+        multirange is empty or has no lower bound).
        </para>
        <para>
         <literal>lower('{[1.1,2.2)}'::nummultirange)</literal>

base-commit: e51c2a46b54ee294c699499bedf76940ce2f392c
-- 
2.39.3



view thread (4+ messages)  latest in thread

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: [email protected]
  Cc: [email protected]
  Subject: Re: docs: minor typo fix for "lower(anymultirange)"
  In-Reply-To: <CAB8KJ=i-rFQ=YcXztT3S5wS9SCfm+gQ+G6moO1JziHGSZ0gLwg@mail.gmail.com>

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

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