Re: case-insensitive database

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: case-insensitive database
Дата
Msg-id 20030914172223.W53960@megazone.bigpanda.com
обсуждение исходный текст
Ответ на Re: case-insensitive database  ("Relaxin" <noname@spam.com>)
Ответы Re: case-insensitive database  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Sat, 13 Sep 2003, Relaxin wrote:

> No, I mean the data.
>
> select * from stocks where symbol = 'AADBX'
> and
> select * from stocks where symbol = 'aadbx'
>
> would bring up the same result set.

Potentially on some systems it'd be possible to
generate a case insensitive collation as part of a locale
and then use such for LC_COLLATE on initdb which would make all
comparisons of text fields case insensitive.  That wouldn't
let you choose some case sensitive and case insensitive
right now (until we supported different collations within
one database).  Others have already given most of the normal
query change ways already I believe (ilike, using upper or
lower, etc).

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

Предыдущее
От: darren@crystalballinc.com
Дата:
Сообщение: Re: case-insensitive database
Следующее
От: Gabriele Bartolini
Дата:
Сообщение: How to remove CLUSTERs and 'partitioning tables'