pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sigi Jekabsons <sigi.j@workskillsprofessionals.com.au>
To: pgsql-sql@postgresql.org
Subject: Re: fast case-insensitive sort
Date: Tue, 15 Apr 2003 14:28:26 +0800
Message-ID: <007001c30318$395bc5c0$7c01a8c0@microvac> (raw)
References: <20030414191817.L48398-100000@megazone23.bigpanda.com>
	<005801c302f8$6600a890$7c01a8c0@microvac>
	<5353.1050386098@sss.pgh.pa.us>

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
>
>




view thread (6+ messages)  latest in thread

Message-ID: <007001c30318$395bc5c0$7c01a8c0@microvac>
Permalink:  ../007001c30318$395bc5c0$7c01a8c0@microvac/
Also on:    postgresql.org/message-id/007001c30318$395bc5c0$7c01a8c0@microvac

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sigi.j@workskillsprofessionals.com.au
  Subject: Re: fast case-insensitive sort
  In-Reply-To: <007001c30318$395bc5c0$7c01a8c0@microvac>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox