From: Vladimir V. Zolotych <gsmith@eurocom.od.ua>
To: pgsql-admin@postgresql.org
Subject: text & char(32)
Date: Tue, 19 Sep 2000 11:46:37 +0400
Message-ID: <1490.000919@eurocom.od.ua> (raw)
Hi all,
Can you help me a bit ?
The question is: how can I compare TEXT and CHAR(32) types ?
More detailed description:
my=> create table foo (tt text, cc char(32));
CREATE
my=> insert into foo values ('aa', 'ab');
INSERT 27476810 1
my=> insert into foo values ('aa', 'aa');
INSERT 27476811 1
my=> select * from foo where tt=cc;
tt|cc
--+--
(0 rows)
So the operator '=' doesn't work as I expected.
Any help will be appreciated.
--
Best regards,
Vladimir mailto:gsmith@eurocom.od.ua
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: gsmith@eurocom.od.ua
Subject: Re: text & char(32)
In-Reply-To: <1490.000919@eurocom.od.ua>
References: <1490.000919@eurocom.od.ua>
* 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