Received: from Roland.eurocom.od.ua (root@Roland.EuroCom.Od.UA [212.15.128.1]) by hub.org (8.10.1/8.10.1) with ESMTP id e8J8m0s53604 for ; Tue, 19 Sep 2000 04:48:01 -0400 (EDT) Received: from vlz.ti.com.od.ua (vlz.ti.com.od.ua [212.15.128.233]) by Roland.eurocom.od.ua (8.10.0/8.10.0) with ESMTP id e8J8lf128836 for ; Tue, 19 Sep 2000 11:47:42 +0300 Date: Tue, 19 Sep 2000 11:46:37 +0400 From: "Vladimir V. Zolotych" X-Mailer: The Bat! (v1.36) S/N 464BC5AA Reply-To: "Vladimir V. Zolotych" X-Priority: 3 (Normal) Message-ID: <1490.000919@eurocom.od.ua> To: pgsql-admin@postgresql.org Subject: text & char(32) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/57 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