reproducible bug in I don't know what component

From: Markus Bertheau <twanger(at)bluetwanger(dot)de>
To: PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Cc: Нарыжный Илья Георгиевич <phantom_(at)mail(dot)ru>
Subject: reproducible bug in I don't know what component
Date: 2004-07-23 09:49:24
Message-ID: 1090576164.3241.35.camel@dicaprio.akademie1.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

bug=# select * from example_objects where name = 'Модемы';
object_id | name
-----------+--------
2 | Мебель
2 | Модемы
(записей: 2)
bug=# select version();
version
---------------------------------------------------------------------------------------------------------------------------------
PostgreSQL 7.4.2 on i386-redhat-linux-gnu, compiled by GCC i386-redhat-linux-gcc (GCC) 3.3.3 20040216 (Red Hat Linux 3.3.3-2.1)
(1 запись)

Do the following in an installation initdb'd in ru_RU.KOI8-R (It doesn't
happen if you initdb'd with UTF-8). You need to run psql in a locale
that is capable of russian letters, namely an UTF-8 locale, or a KOI8-R
locale. Then:

CREATE DATABASE bug WITH ENCODING='unicode';
\c bug
\i dump.sql
-- here you have to set client_encoding if you chose ru_RU.KOI8-R as the
locale for psql
-- set client_encoding to koi8r;
select * from example_objects where name = 'Модемы';

dump.sql is attached, the select statement is included in UTF-8.

Let me know if anything is missing.

--
Markus Bertheau <twanger(at)bluetwanger(dot)de>

Attachment Content-Type Size
dump.sql text/x-sql 317 bytes

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2004-07-23 12:02:42 Re: reproducible bug in I don't know what component
Previous Message Markus Bertheau 2004-07-23 08:05:29 Re: BUG #1197: index bug