Re: Case insensitive selects?
| От | Bruce Momjian |
|---|---|
| Тема | Re: Case insensitive selects? |
| Дата | |
| Msg-id | 200102161957.OAA28548@candle.pha.pa.us обсуждение исходный текст |
| Ответ на | Re: Case insensitive selects? (David Wheeler <david@wheeler.net>) |
| Список | pgsql-general |
> Wouldn't it be more efficient to just have a single, case-insensitive > index, and then have the query engine automagically compare to the index > in a case-insensitive way? I'm assuming that this is the sort of approach > MS takes, which is why one has to choose the sort order at installation > time. If I choose case-insensitive Unicode, then I would expect the server > to do these things for me behind the scenes: > Yes, our CREATE INDEX lower(col) already does that, but you do have to use lower(col) when doing the query. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: