Re: [PATCH] Run UTF8-dependent tests for citext [Re: daitch_mokotoff module]
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dag Lem <dag@nimrod.no>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-01-05T18:38:42Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid using non-ASCII commentary in daitch_mokotoff.c.
- 1c54b93a8cf9 16.0 landed
-
Remove some non-ASCII symbols from a comment.
- d6b5dee42de7 16.0 landed
-
Remove useless dependencies in daitch_mokotoff_header.pl.
- 2bfbad9c4220 16.0 landed
-
Pacify perlcritic.
- edc627ae2763 16.0 landed
-
Add support for Daitch-Mokotoff Soundex in contrib/fuzzystrmatch.
- a290378a3752 16.0 landed
-
Enable routine running of citext's UTF8-specific test cases.
- c2e8bd27519f 15.0 landed
Dag Lem <dag@nimrod.no> writes: > Please find attached a patch to run the previously commented-out > UTF8-dependent tests for citext, according to best practice. For now I > don't dare to touch the unaccent module, which seems to be UTF8-only > anyway. I tried this on a bunch of different locale settings and concluded that we need to restrict the locale to avoid failures: it falls over with locale C. With that, it passes on all UTF8 LANG settings on RHEL8 and FreeBSD 12, and all except am_ET.UTF-8 on current macOS. I'm not sure what the deal is with am_ET, but macOS has a long and sad history of wonky UTF8 locales, so I was actually expecting worse. If the buildfarm shows more problems, we can restrict it further --- I won't be too upset if we end up restricting to just Linux systems, like collate.linux.utf8. Anyway, pushed to see what happens. regards, tom lane