Re: sql function returning composite type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ivan <Ivan-Sun1(at)mail(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: sql function returning composite type
Date: 2004-09-21 14:17:37
Message-ID: 566.1095776257@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Ivan <Ivan-Sun1(at)mail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ivan 2004-09-21 16:22:25 Re: sql function returning composite type
Previous Message Reto Stamm 2004-09-21 13:46:40 Beta 2 build failure using Cygwin/XP