pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix crash introduced by incorrect backport 806555e300.
2+ messages / 2 participants
[nested] [flat]

* pgsql: Fix crash introduced by incorrect backport 806555e300.
@ 2026-01-27 16:16 Jeff Davis <jdavis@postgresql.org>
  2026-01-27 18:46 ` Re: pgsql: Fix crash introduced by incorrect backport 806555e300. Jeff Davis <pgsql@j-davis.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jeff Davis @ 2026-01-27 16:16 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql: Fix crash introduced by incorrect backport 806555e300.
  2026-01-27 16:16 pgsql: Fix crash introduced by incorrect backport 806555e300. Jeff Davis <jdavis@postgresql.org>
@ 2026-01-27 18:46 ` Jeff Davis <pgsql@j-davis.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Davis @ 2026-01-27 18:46 UTC (permalink / raw)
  To: Jeff Davis <jdavis@postgresql.org>; pgsql-committers@lists.postgresql.org

On Tue, 2026-01-27 at 16:16 +0000, Jeff Davis wrote:
> Fix crash introduced by incorrect backport 806555e300.

Note: this is a backbranch-only commit (only v18). Just highlighting
that to avoid confusion.

Regards,
	Jeff Davis






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-01-27 18:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-01-27 16:16 pgsql: Fix crash introduced by incorrect backport 806555e300. Jeff Davis <jdavis@postgresql.org>
2026-01-27 18:46 ` Jeff Davis <pgsql@j-davis.com>

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