From: Jeff Davis <jdavis@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix crash introduced by incorrect backport 806555e300.
Date: Tue, 27 Jan 2026 16:16:26 +0000
Message-ID: <E1vkljt-002zO6-1Q@gemulon.postgresql.org> (raw)
Fix crash introduced by incorrect backport 806555e300.
Commit 7f007e4a04 in master depends on 1476028225, but the latter was
not backported. Therefore 806555e300 (the backport of commit
7f007e4a04) incorrectly used pg_strfold() in a locale where
ctype_is_c.
The fix is to simply have the callers check for ctype_is_c.
Because 7f007e4a04 was only backported to version 18, and because the
commit in master is fine, this fix only exists in version 18.
Reported-by: Александр Кожемякин <a.kozhemyakin@postgrespro.ru>
Discussion: https://postgr.es/m/456f7143-51ea-4342-b4a1-85f0d9b6c79f@postgrespro.ru
Branch
------
REL_18_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/8993bf0991d876c878fe3739d6d4e200a1e122f3
Modified Files
--------------
contrib/ltree/crc32.c | 34 ++++++++++++++++++++++++----------
contrib/ltree/lquery_op.c | 21 +++++++++++++++++++--
2 files changed, 43 insertions(+), 12 deletions(-)
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: pgsql-committers@postgresql.org
Cc: jdavis@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Fix crash introduced by incorrect backport 806555e300.
In-Reply-To: <E1vkljt-002zO6-1Q@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox