Re: Postgres case insensitive searches - Mailing list pgsql-general

From John R Pierce
Subject Re: Postgres case insensitive searches
Date
Msg-id 51CE44FA.5040905@hogranch.com
Whole thread Raw
In response to Re: Postgres case insensitive searches  (bhanu udaya <udayabhanu1984@hotmail.com>)
List pgsql-general
On 6/28/2013 6:59 PM, bhanu udaya wrote:
> select * from table where type like 'ab%'. It should get all above 3
> records.  Is there a way the database itself can be made
> case-insensitive with UTF8 characterset. I tried with character type &
> collation POSIX, but it did not really help.

use ILIKE



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



pgsql-general by date:

Previous
From: bhanu udaya
Date:
Subject: Re: Postgres case insensitive searches
Next
From: Adrian Klaver
Date:
Subject: Re: Cleaning up a text import