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

From Tom Lane
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
Msg-id 12248.1133458029@sss.pgh.pa.us
Whole thread Raw
In response to BUGs for function returning a SETOF values on linux postgres 8.0.4, the same function runs correctly on win postgres 8.1  ("Susan Fu" <susan.fu@vericept.com>)
List pgsql-bugs
"Susan Fu" <susan.fu@vericept.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

pgsql-bugs by date:

Previous
From: "Farid Z"
Date:
Subject: BUG #2081: ODBC numeric(12,6) SQL_C_CHAR clobbered data
Next
From: Michael Fuhr
Date:
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