Home > Archive > PostgreSQL Bugs > December 2005 > Re: BUGs for function returning a SETOF values on linux postgres 8.0.4, the same function runs corr









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: BUGs for function returning a SETOF values on linux postgres 8.0.4, the same function runs corr
Tom Lane

2005-12-01, 1:24 pm

"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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com