From: Eric Enockson <erice@cloudband.com>
To: pgsql-sql@postgresql.org
Subject: creating indexes on character fields
Date: Mon, 06 Sep 1999 14:58:48 +0000
Message-ID: <37D3D6A8.E83703E5@cloudband.com> (raw)
i have a person here who is telling me that i should not create
indexes
on character fields. That is a
index_field char(32)
or something.
This doesn't make sense to me because it seems that we can order
strings
as easily as ordering numbers as they're all just binary to the computer
anyway.
He is saying bascially that this bit off code from my sql book is
something he has never seen done in a database in his life. I do not
understand.
Create INDEX author_name
on books (author_name)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: erice@cloudband.com
Subject: Re: creating indexes on character fields
In-Reply-To: <37D3D6A8.E83703E5@cloudband.com>
References: <37D3D6A8.E83703E5@cloudband.com>
* 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