(2) failed to find conversion function from "unknown" to ...

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

Other (besides text literal from my previous message)
condition when we have
ERROR:  failed to find conversion function from "unknown" to ..
is usage of null.

When I invoke

select 1 where 5 in (null)

everything is Ok,
though when I try

select 1 where 5 in (select null)

I get

ERROR:  failed to find conversion function from "unknown" to integer.

Is it desired behavior or subject to change
in future versions of PG?

Thanks.

--
Best regards
Ilja Golshtein

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

Предыдущее
От: Wenyan Ji
Дата:
Сообщение: restore large database
Следующее
От: "Rodrigo Katsumoto Sakai"
Дата:
Сообщение: Help! What has changed in the internal structure of PostgreSQL?