"Invalid multibyte character for locale" still there - Mailing list pgsql-general

From Marian POPESCU
Subject "Invalid multibyte character for locale" still there
Date
Msg-id ctlev7$49s$1@sea.gmane.org
Whole thread Raw
Responses Re: "Invalid multibyte character for locale" still there
List pgsql-general
Hi,

I want to report a bug on PG 8.0 (linux : Fedora Core 3)
A LIKE '%langage C%' in the WHERE clause of my SELECT statement gives
"invalid multibyte character for locale" error.
I thought the bug
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=113231 was fixed
and the patch was incorporated in the mainstream.

Details
-------
In initdb.i18n I have
LANG="en_US"
(I tried also LANG="en_US.UTF-8")

rpm -q postgresql gives postgresql-8.0.0-1PGDG (it's the official
postgresql SRPM that rebuilt with default options).

On /etc/sysconfig/i18n I have tried LANG="en_US" and LANG="en_US.UTF-8"
as well.

Real Query
----------
SELECT t0.id_profile, t0.first_name, t0.last_name, t0.email,
t0.experience, t0.study_level, t0.study_type, t0.compet_type1,
t0.compet_type2, t0.compet_type3, t0.empl_type, t0.avail_type,
t0.prof_salary, t0.comments, t1.srcfileid
FROM cv_profiles t0 LEFT JOIN cv_profiles_ocr t1 ON (t0.id_profile =
t1.id_profile)
WHERE (( upper(t1.ocrcontent) LIKE upper('%langage C%') ) ) ORDER BY
t0.last_name, t0.first_name;

Questions
---------
1. What can I do to outcome this issue (known workarounds, etc.)?
2. Will it be adressed on PG 8.0.1 ?

Thanks,
Marian

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: conflict types mysql and PostgreSQL
Next
From: Lonni J Friedman
Date:
Subject: Re: postgresql 7.4.6 slowing down