Re: Old question - failed to find conversion function from "unknown"

From: "Ilja Golshtein" <ilejn(at)yandex(dot)ru>
To: dev(at)archonet(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Old question - failed to find conversion function from "unknown"
Date: 2005-07-19 12:19:58
Message-ID: 42DCEFEE.000005.12199@mfront8.yandex.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

>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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Martin Fandel 2005-07-19 13:23:42 Re: backing up without lock ?
Previous Message Richard Huxton 2005-07-19 11:03:35 Re: Old question - failed to find conversion function from

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-07-19 13:40:18 Re: Changes to not deferred FK in 8.0.3 to 7.4?
Previous Message Richard Huxton 2005-07-19 12:16:32 Re: Slow first query