Compare with CHAR - Mailing list pgsql-sql

From Tomas Eriksson
Subject Compare with CHAR
Date
Msg-id a3e3f1$1m7k$1@news.tht.net
Whole thread Raw
Responses Re: Compare with CHAR  ("Josh Berkus" <josh@agliodbs.com>)
List pgsql-sql
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




pgsql-sql by date:

Previous
From: "Henshall, Stuart - WCP"
Date:
Subject: Re: Difference between Access97 and PostgreSQL
Next
From: Dedov Anton
Date:
Subject: Again about foreign keys and inheritance