RE: [HACKERS] A small problem with the new inet and cidr types

Поиск
Список
Период
Сортировка
От Taral
Тема RE: [HACKERS] A small problem with the new inet and cidr types
Дата
Msg-id 000001be068e$fe4351e0$3b291f0a@taral
обсуждение исходный текст
Ответ на Re: [HACKERS] A small problem with the new inet and cidr types  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] A small problem with the new inet and cidr types
Список pgsql-hackers
> My guess is that maybe this should not be fixed in the individual
> datatypes at all; instead the generic function and operator code should
> be modified so that if any input value is NULL, then NULL is returned as
> the result without ever calling the datatype-specific code.

AFAICT, the function code returns blank when the input is NULL, regardless
of the function definition... this came up before when someone tried to
extend the functions and found that func(NULL) called func, but disregarded
the return value...

Taral



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

Предыдущее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: [HACKERS] A small problem with the new inet and cidr types
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] A small problem with the new inet and cidr types