Re: BUGs for function returning a SETOF values on linux postgres 8.0.4, the same function runs correctly on win postgres 8.1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Susan Fu" <susan(dot)fu(at)vericept(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUGs for function returning a SETOF values on linux postgres 8.0.4, the same function runs correctly on win postgres 8.1
Date: 2005-12-01 17:27:09
Message-ID: 12248.1133458029@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Susan Fu" <susan(dot)fu(at)vericept(dot)com> writes:
> Failed to execute SQL : SQL select * from tt(); failed : ERROR: control =
> reached end of function without RETURN CONTEXT: PL/pgSQL function "tt"

This is not a bug. 8.0 requires a RETURN in all cases. 8.1 is laxer
about it.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Fuhr 2005-12-01 17:33:46 Re: BUGs for function returning a SETOF values on linux postgres 8.0.4, the same function runs correctly on win postgres 8.1
Previous Message David Begley 2005-12-01 17:22:34 BUG #2085: pg_dump incompletely dumps ACLs