Is it a bug ?

Поиск
Список
Период
Сортировка
От Pascal Tufenkji
Тема Is it a bug ?
Дата
Msg-id 200604250905.k3P950IQ010685@Citrus.usj.edu.lb
обсуждение исходный текст
Ответ на Re: Autovacuuming  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Is it a bug ?
Список pgsql-admin

Hi,

I just noticed a bug in PostgreSQL 7.3.2

I don't know if it exists in other versions

 

If I have a UNICODE database and I make the following query

 

SELECT * FROM table where code like 'abcz%';

Or

SELECT * FROM table where code like 'abcz_';

(or anything that ends with z% or z_)

It gives the following error :

ERROR:  Invalid UNICODE character sequence found (0xc000)

 

Other queries like

SELECT * FROM table where code ilike 'abcz%';

SELECT * FROM table where code like '%abcz%';

Or the same query but in an SQL_ASCII database don’t give the same error

 

Is it a bug in Postgres ????

 

I’d appreciate an explanation

 

Thx

Pascal

 

 

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Autovacuuming
Следующее
От: "Andy Shellam"
Дата:
Сообщение: Re: Is it a bug ?