Chuck Bai <cbai22(at)gmail(dot)com> writes:
> I got the following error when try to create a function to return an
> integer and SETOF refcursor.
You can't. Perhaps it'd be enough to return the same integer value in
each row of the output?
regards, tom lane