failed to find conversion function from "unknown" to ...

Поиск
Список
Период
Сортировка
От Ilja Golshtein
Тема failed to find conversion function from "unknown" to ...
Дата
Msg-id 42B6AE27.000004.00335@mfront7.yandex.ru
обсуждение исходный текст
Ответы Re: failed to find conversion function from "unknown" to ...  ("Ilja Golshtein" <ilejn@yandex.ru>)
Список pgsql-general
Hello!

This query

select 1 where 'vasya' = (select 'vasya')

produces

ERROR:  failed to find conversion function from "unknown" to text

in my 8.0.0.

If I explicitly cast second 'vasya' to text, it is Ok.
Everything is fine if data comes from database, IOW
type is known.

Is what I am describing desired behavior?

Thanks.

--
Best regards
Ilja Golshtein

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

Предыдущее
От: Tomasz Grobelny
Дата:
Сообщение: Re: subqueries
Следующее
От: John Burger
Дата:
Сообщение: Re: plpgsql constraint checked data fails to restore