Re: [HACKERS] NULL handling question

Поиск
Список
Период
Сортировка
От Vazsonyi Peter[ke]
Тема Re: [HACKERS] NULL handling question
Дата
Msg-id Pine.A32.4.05.9903291804500.16770-100000@kornel.szif.hu
обсуждение исходный текст
Ответ на Re: [HACKERS] NULL handling question  (Thomas Lockhart <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
On Mon, 29 Mar 1999, Thomas Lockhart wrote:
> 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.

> and never calls your routine at all.

But! I see the output of elogs in function.
I don't sure about 6.5, i test it not for a long time. The 6.4.x calls my
functions always (with one or more NULL parameters).

Then if the return value has "pass-by-reference" type, can i give a NULL or
a NOT NULL value. I don't now realy, but i think it's posible to give NULL
indicator with int4, bool, etc like type results.

I mean this feature is necessary... Not? ;)
Any opinion?

So thans for all.

--NeKo@(kva.hu|Kornel.szif.hu) the servant of Crashhu:http://lsc.kva.hu  en:-- (sorry, my english is...)



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Memory grows without bounds in aggregates!
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Speedup idea: avoid using SQL procedures as aliases