mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 03:37:19 +02:00
Additionally, add a missing "the" in a couple of places. Author: Vignesh C, Dagfinn Ilmari Mannsåker Discussion: http://postgr.es/m/CALDaNm28t+wWyPfuyqEaARS810Je=dRFkaPertaLAEJYY2cWYQ@mail.gmail.com
17 lines
594 B
Plaintext
17 lines
594 B
Plaintext
/*
|
|
* This test must be run in a database with UTF-8 encoding
|
|
* and a Unicode-aware locale.
|
|
*
|
|
* Also disable this file for ICU, because the test for the
|
|
* Turkish dotted I is not correct for many ICU locales. citext always
|
|
* uses the default collation, so it's not easy to restrict the test
|
|
* to the "tr-TR-x-icu" collation where it will succeed.
|
|
*/
|
|
SELECT getdatabaseencoding() <> 'UTF8' OR
|
|
(SELECT (datlocprovider = 'c' AND datctype = 'C') OR datlocprovider = 'i'
|
|
FROM pg_database
|
|
WHERE datname=current_database())
|
|
AS skip_test \gset
|
|
\if :skip_test
|
|
\quit
|