Re: foreign_data test fails with non-C locale - Mailing list pgsql-hackers

From Devrim GÜNDÜZ
Subject Re: foreign_data test fails with non-C locale
Date
Msg-id 1231756816.4331.21.camel@laptop.gunduz.org
Whole thread Raw
In response to Re: foreign_data test fails with non-C locale  (Peter Eisentraut <peter_e@gmx.net>)
Responses tsearch with Turkish locale ( was Re: foreign_data test fails with non-C locale)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Hi,

On Mon, 2009-01-12 at 12:06 +0200, Peter Eisentraut wrote:
> Using a glibc system, initdb with --locale=tr_TR (or tr_TR.utf8 or
> whatever) and run make installcheck.  You should see test failures in
> the tsearch and tsdicts tests that appear to relate to issues with
> lowercasing the "I" letter correctly.

Yep, I ran them already, and as you wrote, I'm getting 3 errors (tsearch
tests + foreign_data test).

>  And then use your language skills to determine what the correct
> behavior is. ;-)

SKIES would be skıes (dotless i).

Here is the conversion table:

I (capital) <-> ı
İ (capital <-> i

We also have a few more chars, but I did not test them yet:

ş <-> Ş (capital) (S with a tail)
ü <-> Ü (capital) (U with dots)
ç <-> Ç (capital) (C with a tail)
ğ <-> Ğ (capital) (G with a hat)
ö <-> Ö (capital) (O with dots)

Regards,
--
Devrim GÜNDÜZ, RHCE
devrim~gunduz.org, devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr                  http://www.gunduz.org

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: autovacuum and reloptions
Next
From: Simon Riggs
Date:
Subject: Re: Hot standby, slot ids and stuff