Re: Type conversions and nulls

Поиск
Список
Период
Сортировка
От Edmund Dengler
Тема Re: Type conversions and nulls
Дата
Msg-id Pine.BSO.4.58.0405111949010.28696@cyclops4.esentire.com
обсуждение исходный текст
Ответ на Re: Type conversions and nulls  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Type conversions and nulls
Следующее
От: Dennis Gearon
Дата:
Сообщение: Washintonians and Oregonians