Re: fast case-insensitive sort

From: "Sigi Jekabsons" <sigi(dot)j(at)workskillsprofessionals(dot)com(dot)au>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: fast case-insensitive sort
Date: 2003-04-15 06:28:26
Message-ID: 007001c30318$395bc5c0$7c01a8c0@microvac
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-04-15 06:38:34 Re: fast case-insensitive sort
Previous Message Tom Lane 2003-04-15 05:54:58 Re: fast case-insensitive sort