| От | Tom Lane |
|---|---|
| Тема | Re: Strict Set Returning Functions |
| Дата | |
| Msg-id | 19657.1308164740@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Strict Set Returning Functions (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Strict Set Returning Functions
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> 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.
Really? The case behaves as expected for me.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера