Re: reproducible bug in I don't know what component

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Bertheau <twanger(at)bluetwanger(dot)de>
Cc: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>, Нарыжный Илья Георгиевич <phantom_(at)mail(dot)ru>
Subject: Re: reproducible bug in I don't know what component
Date: 2004-07-23 13:58:54
Message-ID: 19745.1090591134@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Markus Bertheau <twanger(at)bluetwanger(dot)de> writes:
> Do the following in an installation initdb'd in ru_RU.KOI8-R (It doesn't
> happen if you initdb'd with UTF-8).

If this is a bug, it's a bug in the ru_RU.KOI8-R locale definition.
You can prove that the locale considers the strings equal without
Postgres at all:

[tgl(at)rh1 tgl]$ cat ru_data
root
root

[tgl(at)rh1 tgl]$ sort -u ru_data
root

[tgl(at)rh1 tgl]$ LC_ALL=ru_RU.KOI8-R sort -u ru_data
root

[tgl(at)rh1 tgl]$

(The above is on an RHL 8.0 platform.)

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2004-07-23 15:00:21 Re: reproducible bug in I don't know what component
Previous Message Markus Bertheau 2004-07-23 13:30:16 Re: reproducible bug in I don't know what component