Problem with "z_" in Unicode-DB - Mailing list pgsql-bugs

From Wehrle, Daniel
Subject Problem with "z_" in Unicode-DB
Date
Msg-id 062EDF01BFB4D4118A680000F6E60B0E0364700B@edz-mail.edz.de
Whole thread Raw
Responses Re: Problem with "z_" in Unicode-DB  (Ian Barwick <barwick@gmx.net>)
List pgsql-bugs
Hi,

i have following problem:

I created a database with encoding UNICODE

CREATE DATABASE elements
  WITH ENCODING = 'UNICODE';


In this db there is a table "tblassets"

CREATE TABLE public.tblassets
(
  id serial NOT NULL,
  uri text NOT NULL,
  CONSTRAINT tblassets_pkey PRIMARY KEY (id)
) WITHOUT OIDS;


When i try to execute this select, i get an error:

Statement:
SELECT ID FROM tblAssets WHERE uri like
'/files/AssetStore/postgreSqlTest/ratz_ruebe.jpg' ;

Error:
ERROR:  Invalid UNICODE character sequence found (0xc000)


If I try this, there is no error:

SELECT ID FROM tblAssets WHERE uri like
'/files/AssetStore/postgreSqlTest/ratzruebe.jpg' ;
SELECT ID FROM tblAssets WHERE uri like
'/files/AssetStore/postgreSqlTest/raty_ruebe.jpg' ;

Has PostgreSQL a problem with the characters "z_"?

Platform is:
Redhat 8.0 (english)
PostgreSQL 7.3.3 (redhat binaries)
Client pgAdmin3

Regards, Daniel

pgsql-bugs by date:

Previous
From: Curt Sampson
Date:
Subject: pg_dump -t option doesn't take schema-qualified table names
Next
From: Tom Lane
Date:
Subject: Re: pg_dump -t option doesn't take schema-qualified table names