Re: [pgsql-ru-general] ILIKE с русскими не работает? - Mailing list pgsql-ru-general

From Oleg Bartunov
Subject Re: [pgsql-ru-general] ILIKE с русскими не работает?
Date
Msg-id Pine.GSO.4.62.0504251058350.4489@ra.sai.msu.su
Whole thread Raw
In response to ILIKE с русскими не работает?  ("Viktor Vislobokov" <vvislobokov@parma-telecom.ru>)
Responses Re: [pgsql-ru-general] Re: [pgsql-ru-general] ILIKE с русскими не работает?  ("Viktor Vislobokov" <vvislobokov@parma-telecom.ru>)
List pgsql-ru-general
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

---559023410-869693583-1114412345=:4489
Content-Type: TEXT/PLAIN; charset=koi8-r; format=flowed
Content-Transfer-Encoding: 8BIT

Это  у тебя с локаое проблема, проверь.  В koi8-r все работает как положено.

On Mon, 25 Apr 2005, Viktor Vislobokov wrote:

> Собственно subj?
>
> Проверяю:
> template1=# CREATE DATABASE tmp WITH ENCODING='utf8';
> CREATE DATABASE
> template1=# CREATE TABLE tmp_tbl (id int not null primary key, name
> varchar(20));
> NOTICE:  CREATE TABLE / PRIMARY KEY создаст подразумеваемый индекс
> "tmp_tbl_pkey" для таблицы "tmp_tbl"
> CREATE TABLE
> template1=# INSERT INTO tmp_tbl VALUES(1, 'Вагон');
> INSERT 17182 1
> template1=# SELECT * FROM tmp_tbl WHERE name ILIKE ('Ва%');
> id |    name
> ----+------------
> 1 | Вагон
> (1 запись)
>
> template1=# select * from tmp_tbl where name ILIKE ('ва%');
> id | name
> ----+------
> (записей: 0)
>
> template1=#
>
> Есть проблема или я что-то не так делаю?
>
>

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
---559023410-869693583-1114412345=:4489--

pgsql-ru-general by date:

Previous
From: "Viktor Vislobokov"
Date:
Subject: Re: ILIKE с русски
Next
From: "Viktor Vislobokov"
Date:
Subject: Re: [pgsql-ru-general] Re: [pgsql-ru-general] ILIKE с русскими не работает?