BUG #5220: regexp fails on punctuation characters

From: "jef peeraer" <jef(dot)peeraer(at)telenet(dot)be>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5220: regexp fails on punctuation characters
Date: 2009-11-30 14:36:29
Message-ID: 200911301436.nAUEaTTO085343@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5220
Logged by: jef peeraer
Email address: jef(dot)peeraer(at)telenet(dot)be
PostgreSQL version: 8.3
Operating system: linux
Description: regexp fails on punctuation characters
Details:

my lc_locale is set to en_US.UTF-8
if i do a search like this

select * from contacten
where naam ~* 'RÖN'
and my contacten table contains a column naam with the value
RÖNTGEN TECHNISCHE DIENST NV
-> it won't find it

the same query with
naam ILIKE '%RÖN%' works perfectly

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2009-11-30 15:23:15 Re: BUG #5218: Easy strategic feature requests
Previous Message Bruce Momjian 2009-11-30 13:59:13 Re: psql -1 -f - busted