Re: STRICT function returning a composite type - Mailing list pgsql-sql

From Alexander M. Pravking
Subject Re: STRICT function returning a composite type
Date
Msg-id 20031113173206.GN69653@dyatel.antar.bryansk.ru
Whole thread Raw
In response to Re: STRICT function returning a composite type  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: STRICT function returning a composite type
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: STRICT function returning a composite type
Next
From: Tom Lane
Date:
Subject: Re: STRICT function returning a composite type