From: Gaetano Mendola <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org
Subject: index not used in ( varchar = text )
Date: Sat, 22 Feb 2003 18:55:52 +0100
Message-ID: <b38dj6$ir$1@news.hub.org> (raw)
Hi all,
why in Postgresql 7.3.2 in a select like:
SELECT *
FROM user_login
WHERE login = 'FOO'::text;
and login is a VARCHAR the index on login
is not used anymore ?
Ciao
Gaetano
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-admin@postgresql.org
Cc: mendola@bigfoot.com
Subject: Re: index not used in ( varchar = text )
In-Reply-To: <b38dj6$ir$1@news.hub.org>
References: <b38dj6$ir$1@news.hub.org>
* 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