> 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