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.96) (envelope-from ) id 1vvj6K-00GASS-0A for pgsql-committers@arkaria.postgresql.org; Thu, 26 Feb 2026 21:40:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvj6I-00FfPa-0c for pgsql-committers@arkaria.postgresql.org; Thu, 26 Feb 2026 21:40:50 +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.96) (envelope-from ) id 1vvj6H-00FfPS-3A for pgsql-committers@lists.postgresql.org; Thu, 26 Feb 2026 21:40:49 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vvj6B-00000001Saz-0W6t; Thu, 26 Feb 2026 21:40:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 61QLegM0739011; Thu, 26 Feb 2026 16:40:42 -0500 From: Tom Lane To: Jeff Davis cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix more multibyte issues in ltree. In-reply-to: References: Comments: In-reply-to Jeff Davis message dated "Thu, 26 Feb 2026 20:30:51 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <739009.1772142042.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 26 Feb 2026 16:40:42 -0500 Message-ID: <739010.1772142042@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jeff Davis writes: > Fix more multibyte issues in ltree. Buildfarm is showing there is something wrong with this, but only in v18 branch: diff -U3 /Users/buildfarm/bf-data/REL_18_STABLE/pgsql.build/contrib/ltree/= expected/ltree.out /Users/buildfarm/bf-data/REL_18_STABLE/pgsql.build/cont= rib/ltree/results/ltree.out --- /Users/buildfarm/bf-data/REL_18_STABLE/pgsql.build/contrib/ltree/expec= ted/ltree.out 2026-02-26 16:21:27 +++ /Users/buildfarm/bf-data/REL_18_STABLE/pgsql.build/contrib/ltree/resul= ts/ltree.out 2026-02-26 16:32:07 @@ -689,7 +689,7 @@ SELECT 'aa.b.c.d.e'::ltree ~ 'A@.b.c.d.e'; ?column? = ---------- - f + t (1 row) = SELECT 'aa.b.c.d.e'::ltree ~ 'A*.b.c.d.e'; @@ -1242,7 +1242,7 @@ SELECT 'tree.awdfg'::ltree @ 'tree & aWdf@'::ltxtquery; ?column? = ---------- - f + t (1 row) = SELECT 'tree.awdfg'::ltree @ 'tree & aWdf*'::ltxtquery; regards, tom lane