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
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