Strict Set Returning Functions

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Strict Set Returning Functions
Дата
Msg-id BANLkTin5vFYDm15Tb0RRiLcdjSg42YG1gQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Strict Set Returning Functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
STRICT functions return NULL if any of their inputs are NULL according
to the manual, so that they need not be executed at all.

Unless it is a Set Returning Function, in which case a NULL input is
not reduced nor does it to appear to be handled as a special case in
the executor function scan code.

So a function that is both STRICT and SET RETURNING will return rows.

Presumably this is just a case of missing documentation?

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: creating CHECK constraints as NOT VALID
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: creating CHECK constraints as NOT VALID