David Lazar <dlazar(at)resistorsoftware(dot)com> writes:
> ERROR: RETURN cannot have a parameter in function returning set; use
> RETURN NEXT at or near "pkg" at character 1149
> Did something change from pgsql 7.X series set returning function to
> version 8.X series???
I think 8.0 actually complains that you made a mistake, whereas 7.x
just silently ignores it. It's still a mistake though.
regards, tom lane