pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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





view thread (2+ messages)  latest in thread

Message-ID: <a3e3f1$1m7k$1@news.tht.net>
Permalink:  ../a3e3f1$1m7k$1@news.tht.net/
Also on:    postgresql.org/message-id/a3e3f1$1m7k$1@news.tht.net

 · 

reply

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