Unclear documentation

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Unclear documentation
Дата
Msg-id 4372BEC2.7070304@familyhealth.com.au
обсуждение исходный текст
Ответы Re: Unclear documentation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In the CREATE FUNCTION docs I notice this:

RETURNS NULL ON NULL INPUT or STRICT indicates that the function always 
returns null whenever any of its arguments are null. If this parameter 
is specified, the function is not executed when there are null 
arguments; instead a null result is assumed automatically.

I'm wondering what this means when the function returns a composite 
type, or a setof scalar or a setof composite?

So if you indicate STRICT, does PostgreSQL assume one row of all nulls 
for each column in the return composite type?  Perhaps someone who knows 
better could tweak the docs a bit?

Cheers,

Chris



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

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: [COMMITTERS] dbsamples - dbsamples: Imported Sources
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Comments from a Firebird user via Borland Newsgroups.