Re: Case insensitivity, and option?

From: "Ron Mayer" <ron(at)intervideo(dot)com>
To: "mlw" <pgsql(at)mohawksoft(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Case insensitivity, and option?
Date: 2003-03-13 02:29:15
Message-ID: POEDIPIPKGJJLDNIEMBEIEOECFAA.ron@intervideo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


mlw wrote:
> ...
>select * from table where field = 'blah';
>gave the same results as:
>select * from table where field = 'BLah';
>
>I was shocked. (a) because I know a lot of my code could be easier to
>write
> ...

select * from table where field ILIKE 'blAH'; -- ;-)

is almost as easy :-)

PS: no, don't do this if you want portability. I think the charset
idea's a better one.

Ron

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sailesh Krishnamurthy 2003-03-13 03:08:18 some more docbook help
Previous Message Barry Lind 2003-03-13 02:27:57 Re: Roadmap for FE/BE protocol redesign