The Hermit Hacker <scrappy@hub.org> writes:
> Another one here ...
> From: Don Baccus <dhogaza@pacifier.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