| От | Thomas Lockhart |
|---|---|
| Тема | Re: [HACKERS] NULL handling question |
| Дата | |
| Msg-id | 36FFC1D8.1A396DF8@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | Re: [HACKERS] NULL handling question ("Vazsonyi Peter[ke]" <neko@kornel.szif.hu>) |
| Список | pgsql-hackers |
> > Postgres assumes that a NULL input will give a NULL output,
> But why? That is not true in all case, i mean so like: "FALSE &&
> dont'know" is always FALSE.
Your example shows a flaw in the Postgres premise on this topic,
perhaps.
> > and never calls your routine at all.
> But! I see the output of elogs in function.
> The 6.4.x calls my
> functions always (with one or more NULL parameters).
It's been discussed before, and as you and others note it seems the
behavior has changed so that functions are called even with NULL
input. But the job wasn't finished since the results are ignored.
- Tom
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера