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

From: "Ilja Golshtein" <ilejn(at)yandex(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: (2) failed to find conversion function from "unknown" to ...
Date: 2005-06-20 13:12:21
Message-ID: 42B6C0B5.000005.04398@mfront7.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-general by date

  From Date Subject
Next Message Rodrigo Katsumoto Sakai 2005-06-20 13:32:37 Help! What has changed in the internal structure of PostgreSQL?
Previous Message Wenyan Ji 2005-06-20 13:03:35 restore large database