Re: [HACKERS] minor bug in 7.0: casting

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] minor bug in 7.0: casting
Дата
Msg-id 29796.951889334@sss.pgh.pa.us
обсуждение исходный текст
Ответ на minor bug in 7.0: casting  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Poll: Databases for Linux
Следующее
От: "Hiroshi Inoue"
Дата:
Сообщение: RE: [HACKERS] Bug report for 7.0beta1 in 'CREATE FUNCTION...'