From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | The Hermit Hacker <scrappy(at)hub(dot)org> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Don Baccus <dhogaza(at)pacifier(dot)com> |
Subject: | Re: [HACKERS] minor bug in 7.0: casting |
Date: | 2000-03-01 05:42:14 |
Message-ID: | 29796.951889334@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
The Hermit Hacker <scrappy(at)hub(dot)org> writes:
> Another one here ...
> From: Don Baccus <dhogaza(at)pacifier(dot)com>
> donb=# create table foo(c char(2), v varchar(2));
> CREATE
> donb=# select * from foo where c::varchar = v::varchar;
> ERROR: Unable to identify an operator '=' for types 'bpchar' and 'varchar'
> You will have to retype this query using an explicit cast
As of current sources:
regression=# create table foo(c char(2), v varchar(2));
CREATE
regression=# select * from foo where c::varchar = v::varchar;
c | v
---+---
(0 rows)
I thought I fixed that before 7.0beta1, but am not feeling eager to
rummage through cvs logs to prove it.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Hiroshi Inoue | 2000-03-01 05:56:43 | RE: [HACKERS] Bug report for 7.0beta1 in 'CREATE FUNCTION...' |
Previous Message | Bruce Momjian | 2000-03-01 04:20:17 | Re: [HACKERS] Poll: Databases for Linux |