From: Alexander M. Pravking <fduch@antar.bryansk.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Richard Huxton <dev@archonet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: STRICT function returning a composite type
Date: Thu, 13 Nov 2003 20:32:06 +0300
Message-ID: <20031113173206.GN69653@dyatel.antar.bryansk.ru> (raw)
In-Reply-To: <28012.1068744478@sss.pgh.pa.us>
References: <20031113160800.GL69653@dyatel.antar.bryansk.ru>
<200311131714.27192.dev@archonet.com>
<20031113171945.GM69653@dyatel.antar.bryansk.ru>
<28012.1068744478@sss.pgh.pa.us>
On Thu, Nov 13, 2003 at 12:27:58PM -0500, Tom Lane wrote:
> "Alexander M. Pravking" <fduch@antar.bryansk.ru> writes:
> > 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.)
Very well then... Can I return a null record from such function
explicitly? Sorry, I could't find it anywhere in docs or examples.
--
Fduch M. Pravking
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: fduch@antar.bryansk.ru, tgl@sss.pgh.pa.us, dev@archonet.com
Subject: Re: STRICT function returning a composite type
In-Reply-To: <20031113173206.GN69653@dyatel.antar.bryansk.ru>
* 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