]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix crash introduced by incorrect backport 806555e300.
authorJeff Davis <jdavis@postgresql.org>
Tue, 27 Jan 2026 16:16:07 +0000 (08:16 -0800)
committerJeff Davis <jdavis@postgresql.org>
Tue, 27 Jan 2026 16:16:07 +0000 (08:16 -0800)
commit8993bf0991d876c878fe3739d6d4e200a1e122f3
treeeb8e94e6468795507466849ac9c466b4a2d53376
parent919c9fa13cd0684b437a88719d670a9bf6dd0dc8
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
contrib/ltree/crc32.c
contrib/ltree/lquery_op.c