Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group