From: Tomas Eriksson <tomas_@spray.se>
To: pgsql-sql@postgresql.org
Subject: Compare with CHAR
Date: Fri, 1 Feb 2002 13:59:08 +0100
Message-ID: <a3e3f1$1m7k$1@news.tht.net> (raw)
Hi.
I'm using a table with a indexed CHAR(3)-column. When I use SELECT .. WHERE
Col = 'XXX', some results are empty, but the value in the row seems to be
correct like other rows. If I update the row with same data I can get it
into the result. So I didn't find any logic reason for this. I can find all
rows using LIKE (or with some substring tests) with no problems. Shouldn't =
always works the same..? (Postgres 7.1.3)
kind regards
Tomas
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: tomas_@spray.se
Subject: Re: Compare with CHAR
In-Reply-To: <a3e3f1$1m7k$1@news.tht.net>
* 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