Re: NULLS and User Input WAS Re: multimaster

Поиск
Список
Период
Сортировка
Искать
От
Alexander Staubo
Тема
Re: NULLS and User Input WAS Re: multimaster
Дата
Msg-id
88daf38c0706040803u161d9d74t20e9e1876afc767d@mail.gmail.com
Ответ на
Список
Дерево обсуждения
NULLS and User Input WAS Re: multimaster "Ian Harding" <harding.ian@gmail.com>
Re: NULLS and User Input WAS Re: multimaster "Alexander Staubo" <alex@purefiction.net>
Re: NULLS and User Input WAS Re: multimaster "Ian Harding" <harding.ian@gmail.com>
Re: NULLS and User Input WAS Re: multimaster "Alexander Staubo" <alex@purefiction.net>
Re: NULLS and User Input WAS Re: multimaster PFC <lists@peufeu.com>
Re: NULLS and User Input WAS Re: multimaster Andrew Sullivan <ajs@crankycanuck.ca>
Re: NULLS and User Input WAS Re: multimaster Richard Huxton <dev@archonet.com>
Re: NULLS and User Input WAS Re: multimaster Andrew Sullivan <ajs@crankycanuck.ca>
Re: NULLS and User Input WAS Re: multimaster Lew <lew@nospam.lewscanon.com>
Re: NULLS and User Input WAS Re: multimaster Gregory Stark <stark@enterprisedb.com>
Re: NULLS and User Input WAS Re: multimaster "Alexander Staubo" <alex@purefiction.net>
Re: NULLS and User Input WAS Re: multimaster Zoltan Boszormenyi <zb@cybertec.at>
Re: NULLS and User Input WAS Re: multimaster PFC <lists@peufeu.com>
Re: NULLS and User Input WAS Re: multimaster "Ian Harding" <harding.ian@gmail.com>
Re: NULLS and User Input WAS Re: multimaster Greg Smith <gsmith@gregsmith.com>
Re: NULLS and User Input WAS Re: multimaster Owen Hartnett <owen@clipboardinc.com>
On 6/4/07, Andrew Sullivan  wrote:
> On Mon, Jun 04, 2007 at 12:37:42AM +0200, PFC wrote:
> > NULL usually means "unknown" or "not applicable"
>
> Aaaargh!  No, it doesn't.  It means NULL.  Nothing else.
>
> If it meant unknown or not applicable or anything else, then
>
>         SELECT * FROM nulltbl a, othernulltbl b
>                 WHERE a.nullcol = b.nullcol
>
> would return rows where a.nullcol contained NULL and b.nullcol
> contained NULL.  But it doesn't, because !(NULL = NULL).

I don't disagree with the principle, but that's a specious argument.
Who says (unknown = unknown) should equal true?

Alexander.
В списке pgsql-general по дате отправления
От: Bohdan Linda
Дата:
Сообщение: Re: High-availability
От: Joshua
Дата:
Сообщение: current_date / datetime stuff
FAQ