From: Tom Lane Date: Wed, 1 Jun 2022 14:39:46 +0000 (-0400) Subject: Doc: fix a couple of erroneous examples. X-Git-Tag: REL_15_BETA2~74 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=1d0de97ba1e6ac9f76c63daee574f599df5f2f42;p=postgresql.git Doc: fix a couple of erroneous examples. The example given for anyelement <@ anymultirange didn't return true as claimed; adjust it so it does. In passing, change a couple of sample results where the modern numeric-based logic produces a different number of trailing zeroes than before. Erik Rijkers Discussion: https://postgr.es/m/cc35735d-1ec1-5bb3-9e27-cddbab7afa23@xs4all.nl --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index db3147d1c46..478a216dbbb 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1046,7 +1046,7 @@ repeat('Pg', 4) PgPgPgPg @ -5.0 - 5 + 5.0 @@ -1463,7 +1463,7 @@ repeat('Pg', 4) PgPgPgPg log(2.0, 64.0) - 6.0000000000 + 6.0000000000000000 @@ -19876,7 +19876,7 @@ SELECT NULLIF(value, '(none)') ... Is the element contained by the multirange? - 42 <@ '{[1,7)}'::int4multirange + 4 <@ '{[1,7)}'::int4multirange t