pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andy Shellam <andy.shellam@mailnetwork.co.uk>
To: ptufenkji@usj.edu.lb
Cc: pgsql-admin@postgresql.org
Subject: Re: Is it a bug ?
Date: Tue, 25 Apr 2006 10:34:32 +0100
Message-ID: <20060425093438.9DA2D11F6083@postgresql.org> (raw)
In-Reply-To: <200604250905.k3P950IQ010685@Citrus.usj.edu.lb>

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@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Pascal Tufenkji
Sent: 25 April 2006 10:02 am
To: pgsql-admin@postgresql.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! 

view thread (6+ messages)  latest in thread

Message-ID: <20060425093438.9DA2D11F6083@postgresql.org>
Permalink:  ../20060425093438.9DA2D11F6083@postgresql.org/
Also on:    postgresql.org/message-id/20060425093438.9DA2D11F6083@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: andy.shellam@mailnetwork.co.uk, ptufenkji@usj.edu.lb
  Subject: Re: Is it a bug ?
  In-Reply-To: <20060425093438.9DA2D11F6083@postgresql.org>
  References: <200604250905.k3P950IQ010685@Citrus.usj.edu.lb> <20060425093438.9DA2D11F6083@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox