Re: STRICT function returning a composite type

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: STRICT function returning a composite type
Дата
Msg-id 28012.1068744478@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: STRICT function returning a composite type  ("Alexander M. Pravking" <fduch@antar.bryansk.ru>)
Ответы Re: STRICT function returning a composite type
Список pgsql-sql
"Alexander M. Pravking" <fduch@antar.bryansk.ru> writes:
> On Thu, Nov 13, 2003 at 05:14:27PM +0000, Richard Huxton wrote:
>> RETURNS NULL ON NULL INPUT or STRICT indicates that the function always 
>> returns NULL whenever any of its arguments are NULL.

> Does "NULL result" mean an empty rowset if the function returns a record?

No, it means a null record.  "Empty rowset" would apply to a function
declared to return SETOF something.   (I believe that is how we
interpret the concept of strictness for functions returning sets.)
        regards, tom lane


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

Предыдущее
От: "Alexander M. Pravking"
Дата:
Сообщение: Re: STRICT function returning a composite type
Следующее
От: "Alexander M. Pravking"
Дата:
Сообщение: Re: STRICT function returning a composite type