Re: sql function returning composite type - Mailing list pgsql-bugs

From Tom Lane
Subject Re: sql function returning composite type
Date
Msg-id 566.1095776257@sss.pgh.pa.us
Whole thread Raw
In response to sql function returning composite type  (Ivan <Ivan-Sun1@mail.ru>)
Responses Re: sql function returning composite type  (Ivan <Ivan-Sun1@mail.ru>)
List pgsql-bugs
Ivan <Ivan-Sun1@mail.ru> writes:
> Suppose we have sql function which returns composite type.
> When such function's last select statement doesn't return any row
> error occurs -
> ERROR:  function returning row cannot return null value.

Works for me (tested in 7.4.5 and CVS tip).

            regards, tom lane

pgsql-bugs by date:

Previous
From: Ivan
Date:
Subject: sql function returning composite type
Next
From: Ivan
Date:
Subject: Re: sql function returning composite type