From: Ilja Golshtein <ilejn@yandex.ru>
To: dev@archonet.com
Cc: pgsql-general@postgresql.org
Subject: Re: Old question - failed to find conversion function from "unknown"
Date: Tue, 19 Jul 2005 16:19:58 +0400 (MSD)
Message-ID: <42DCEFEE.000005.12199@mfront8.yandex.ru> (raw)
In-Reply-To: <42DCDE07.4020906@archonet.com>
References: <42DCC1E9.2060300@aeccom.com>
<42DCCCCE.000006.04382@mfront8.yandex.ru>
<42DCDE07.4020906@archonet.com>
>Well, it would obviously be better if PG could figure out it was safe,
>but I'm not sure there's a general case where it is. You can see it's OK
>because you know there's only one row in your SELECT result-set.
I think, it's OK because NULL can be compared with anything
with predictable result and no additional information about
types is necessary.
Is it correct vision?
I agree it's hard to proceed your query with UNION
and some sort of error is reasonable here.
--
Best regards
Ilja Golshtein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: ilejn@yandex.ru, dev@archonet.com, pgsql-general@postgresql.org
Subject: Re: Old question - failed to find conversion function from "unknown"
In-Reply-To: <42DCEFEE.000005.12199@mfront8.yandex.ru>
References: <42DCC1E9.2060300@aeccom.com> <42DCCCCE.000006.04382@mfront8.yandex.ru> <42DCDE07.4020906@archonet.com> <42DCEFEE.000005.12199@mfront8.yandex.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox