Re: Accent insensitive search? - Mailing list pgsql-general

From John R Pierce
Subject Re: Accent insensitive search?
Date
Msg-id 49C13025.8000101@hogranch.com
Whole thread Raw
In response to Re: Accent insensitive search?  (Thom Brown <thombrown@gmail.com>)
List pgsql-general

how about...

select ....   where translate(lower(myfield), 
'âãäåāăąèééêëēĕėęěìíîïìĩīĭóôõöōŏőùúûüũūŭů', 
'aaaaaaaeeeeeeeeeeiiiiiiiiooooooouuuuuuu') = 'stringiwannamatch';


or something like that.   I may have miscounted the vowells in the 'to' 
string :)



pgsql-general by date:

Previous
From: Thom Brown
Date:
Subject: Re: Accent insensitive search?
Next
From: Thomas Kellerer
Date:
Subject: Re: Accent insensitive search?