From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexander M. Pravking <fduch@antar.bryansk.ru>
Cc: Richard Huxton <dev@archonet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: STRICT function returning a composite type
Date: Thu, 13 Nov 2003 12:27:58 -0500
Message-ID: <28012.1068744478@sss.pgh.pa.us> (raw)
In-Reply-To: <20031113171945.GM69653@dyatel.antar.bryansk.ru>
References: <20031113160800.GL69653@dyatel.antar.bryansk.ru>
<200311131714.27192.dev@archonet.com>
<20031113171945.GM69653@dyatel.antar.bryansk.ru>
"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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, fduch@antar.bryansk.ru, dev@archonet.com
Subject: Re: STRICT function returning a composite type
In-Reply-To: <28012.1068744478@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox