Re: Is it a bug ?

From: "Andy Shellam" <andy(dot)shellam(at)mailnetwork(dot)co(dot)uk>
To: <ptufenkji(at)usj(dot)edu(dot)lb>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Is it a bug ?
Date: 2006-04-25 09:34:32
Message-ID: 20060425093438.9DA2D11F6083@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Pascal,

7.3 is now quite out-dated - have you tried the latest release, 8.1.3, to
see if the problem is still present?

Andy

_____

From: pgsql-admin-owner(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Pascal Tufenkji
Sent: 25 April 2006 10:02 am
To: pgsql-admin(at)postgresql(dot)org
Subject: [ADMIN] Is it a bug ?

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

!DSPAM:14,444debdd33695139936371!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andy Shellam 2006-04-25 09:53:58 Re: Is it a bug ?
Previous Message Pascal Tufenkji 2006-04-25 09:02:16 Is it a bug ?