"Pawel Socha" <[EMAIL PROTECTED]> writes:
> 2008/8/4 Marcin Krawczyk <[EMAIL PROTECTED]>
>> Hi everybody. Can anyone enlighten me what's wrong with this function :
> [ you didn't do "RETURN next w;" ]
IIRC the other way is to assign to the output parameters by name, then
do RETURN NEXT with no argument. But the FOR-loop all by itself isn't
going to return any data to the function's caller.
regards, tom lane
--
Sent via pgsql-sql mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql