Re: fast case-insensitive sort - Mailing list pgsql-sql

From Sigi Jekabsons
Subject Re: fast case-insensitive sort
Date
Msg-id 007001c30318$395bc5c0$7c01a8c0@microvac
Whole thread Raw
In response to Re: fast case-insensitive sort  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Responses Re: fast case-insensitive sort  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Thanks for that.  Is it recommended, then, that I use type of text on
columns that I intend to sort with an index on UPPER(column), or is there
something else I should be doing?

> I would have said that the presence of the implicit varchar-to-text cast
> prevented the system from detecting that the expression matches the
> index value.  But if it's able to detect the match in one case and not
> the other, that might be a garden-variety bug.  Will look at it ...
>
> regards, tom lane
>
>



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: fast case-insensitive sort
Next
From: Tom Lane
Date:
Subject: Re: fast case-insensitive sort