Re: Type conversions and nulls - Mailing list pgsql-general

From Edmund Dengler
Subject Re: Type conversions and nulls
Date
Msg-id Pine.BSO.4.58.0405111949010.28696@cyclops4.esentire.com
Whole thread Raw
In response to Re: Type conversions and nulls  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
List pgsql-general
Ahh, thanks. So it is simply a syntactic transform, and not really a
"proper" internal comparison operator change.

Regards,
Ed

On Tue, 11 May 2004, Stephan Szabo wrote:

> Use the full version or if you're generating the query strings on the fly
> put only the check that matters (either the equality or the is null as
> appropriate for the values).  Or if all you care about is true/false,
> possibly
>  select exists(select 1 from tmp where ...)
> may be better.
>
> Transform_null_equals is meant convert a very specific x = NULL or NULL =
> x into x IS NULL.  It doesn't (nor is it meant to) change how nulls
> compare.
>

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Type conversions and nulls
Next
From: Dennis Gearon
Date:
Subject: Washintonians and Oregonians