postgres/contrib/citext
Thomas Munro e52a44b8a4 Skip citext_utf8 test on Windows.
Back-patch of commit cff4e5a3 to 15 and 16, per request from Oleg
Tselebrovskiy.  Original commit message:

On other Windows build farm animals it is already skipped because they
don't use UTF-8 encoding.  On "hamerkop", UTF-8 is used, and then the
test fails.

It is not clear to me (a non-Windows person looking only at buildfarm
evidence) whether Windows is less sophisticated than other OSes and
doesn't know how to downcase Turkish İ with the standard Unicode
database, or if it is more sophisticated than other systems and uses
locale-specific behavior like ICU does.

Whichever the reason, the result is the same: we need to skip the test
on Windows, just as we already do for ICU, at least until a
Windows-savvy developer comes up with a better idea.  The technique for
detecting the OS is borrowed from collate.windows.win1252.sql.

This was anticipated by commit c2e8bd27, but the problem only surfaced
when Windows build farm animals started using Meson.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKGJ1LeC3aE2qQYTK95rFVON3ZVoTQpTKJqxkHdtEyawH4A%40mail.gmail.com
2024-08-02 10:13:16 +12:00
..
expected Skip citext_utf8 test on Windows. 2024-08-02 10:13:16 +12:00
sql Skip citext_utf8 test on Windows. 2024-08-02 10:13:16 +12:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
Makefile CREATE INDEX: use the original userid for more ACL checks. 2022-06-25 09:07:41 -07:00
citext--1.0--1.1.sql Fix incorrect declaration of citext's regexp_matches() functions. 2015-05-05 15:51:22 -04:00
citext--1.1--1.2.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
citext--1.2--1.3.sql Make contrib modules' installation scripts more secure. 2020-08-10 10:44:42 -04:00
citext--1.3--1.4.sql Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
citext--1.4--1.5.sql Add citext_pattern_ops for citext contrib module 2017-09-19 08:31:45 -04:00
citext--1.4.sql Support the new regexp_match() function for citext. 2016-08-18 10:52:31 -04:00
citext--1.5--1.6.sql Add a 64-bit hash function for type citext. 2018-11-23 13:24:45 -05:00
citext.c Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
citext.control Mark some contrib modules as "trusted". 2020-02-13 15:02:35 -05:00