From: Sigi Jekabsons <sigi.j@workskillsprofessionals.com.au>
To: pgsql-sql@postgresql.org
Cc: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Subject: Re: fast case-insensitive sort
Date: Tue, 15 Apr 2003 10:40:38 +0800
Message-ID: <005801c302f8$6600a890$7c01a8c0@microvac> (raw)
References: <20030414191817.L48398-100000@megazone23.bigpanda.com>
The table 'cands' has a 'cand_id' int4 primary key, indexed and specified
unique. 'surname' is varchar(255), indexed in the manner shown on my
previous post. You're quite right, though, I just tried indexing and
sorting by a column of type text and that worked just fine, it used the
index in the order by. Why is that?
> What's the table look like (what type is surname)? I can get behavior
> like this using a varchar, but it uses the index when the field is
> declared as text.
>
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, sszabo@megazone23.bigpanda.com
Subject: Re: fast case-insensitive sort
In-Reply-To: <005801c302f8$6600a890$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