Re: check_strxfrm_bug()
Joe Conway <mail@joeconway.com>
From: Joe Conway <mail@joeconway.com>
To: Thomas Munro <thomas.munro@gmail.com>,
Michael Paquier <michael@paquier.xyz>
Cc: Peter Geoghegan <pg@bowt.ie>, Tom Lane <tgl@sss.pgh.pa.us>,
Nathan Bossart <nathandbossart@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
"Jonathan S. Katz" <jkatz@postgresql.org>,
Amit Kapila <amit.kapila16@gmail.com>
Date: 2023-04-19T14:40:11Z
Lists: pgsql-hackers
On 4/18/23 21:19, Thomas Munro wrote: > On Tue, Apr 18, 2023 at 11:52 AM Michael Paquier <michael@paquier.xyz> wrote: >> On Mon, Apr 17, 2023 at 03:40:14PM -0700, Peter Geoghegan wrote: >> > +1 for getting rid of TRUST_STRXFRM. > > +1 > > The situation is not improving fast, and requires hard work to follow > on each OS. Clearly, mainstreaming ICU is the way to go. libc > support will always have niche uses, to be compatible with other > software on the box, but trusting strxfrm doesn't seem to be on the > cards any time soon. I have wondered a few times, given the known issues with strxfrm, how is the use in selfuncs.c still ok. Has anyone taken a hard look at that? -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Don't expose Windows' mbstowcs_l() and wcstombs_l().
- 4e9fa6d56b3e 17.0 landed
-
All supported systems have locale_t.
- 8d9a9f034e92 17.0 landed
-
Remove obsolete defense against strxfrm() bugs.
- 7d3d72b55edd 16.0 landed