Re: Case insensitivity, and option?

Поиск
Список
Период
Сортировка
От Ron Mayer
Тема Re: Case insensitivity, and option?
Дата
Msg-id POEDIPIPKGJJLDNIEMBEIEOECFAA.ron@intervideo.com
обсуждение исходный текст
Ответ на Case insensitivity, and option?  (mlw <pgsql@mohawksoft.com>)
Список 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: regproc's lack of certainty is dangerous
Следующее
От: Sailesh Krishnamurthy
Дата:
Сообщение: some more docbook help