| От | Tom Lane |
|---|---|
| Тема | Re: Intentional, or bug? |
| Дата | |
| Msg-id | 18429.1000668667@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Intentional, or bug? (Tod McQuillin <devin@spamcop.net>) |
| Список | pgsql-sql |
Tod McQuillin <devin@spamcop.net> writes:
> On Sun, 16 Sep 2001, Kovacs Baldvin wrote:
>> select NULL = NULL;
>>
>> The answer is: true!!!
> This has got to be a bug. NULL is not equal to anything (nor is it
> unequal to anything).
Indeed, this *should* yield NULL. But right now, postgres' parser
rewrites "= NULL" as "IS NULL" for compatibility with certain brain-dead
Microsoft products.
There have been several discussions on pghackers about undoing this bit
of nonstandardness, but so far nothing's been changed. See the
list archives for more detail than you really wanted.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера