Fix more multibyte issues in ltree
Jeff Davis <pgsql@j-davis.com>
From: Jeff Davis <pgsql@j-davis.com>
To: pgsql-hackers@postgresql.org
Date: 2026-02-13T21:56:42Z
Lists: pgsql-hackers
Attachments
- v19.1-0001-Fix-more-multibyte-issues-in-ltree.patch (text/x-patch) patch v19-0001
- v18.1-0001-Fix-more-multibyte-issues-in-ltree.patch (text/x-patch) patch v18-0001
- v17.1-0001-Fix-more-multibyte-issues-in-ltree.patch (text/x-patch) patch v17-0001
- v16.1-0001-Fix-more-multibyte-issues-in-ltree.patch (text/x-patch) patch v16-0001
- v15.1-0001-Fix-more-multibyte-issues-in-ltree.patch (text/x-patch) patch v15-0001
- v14.1-0001-Fix-more-multibyte-issues-in-ltree.patch (text/x-patch) patch v14-0001
Commit 84d5efa7e3 missed some multibyte issues caused by short-circuit logic in the callers. Repro: -- should return true, returns false SELECT 'sss'::ltree ~ 'ſſ*@'::lquery; Patches attached; backport to 14 like 84d5efa7e3. Regards, Jeff Davis
Commits
-
Fix more multibyte issues in ltree.
- 058710d415ee 14.23 landed
- 2b993167fc85 15.18 landed
- 3ed2c7ef7aa4 16.14 landed
- d1bd9a7dc30f 17.10 landed
- b3c2a3d386fa 18.4 landed
- c8308a984d9d 19 (unreleased) landed
-
Fix multibyte issue in ltree_strncasecmp().
- 84d5efa7e3eb 19 (unreleased) cited