2011/12/5 Tom Lane <tgl@xxxxxxxxxxxxx>: > Pavel Stehule <pavel.stehule@xxxxxxxxx> writes: >> return next in function that returns composite type needs a composite >> variable. Other cases are not supported there. > > Plain "return" has the same limitation, but this really ought to be > fixed sometime. Composite types have been getting closer and closer > to first-class status since plpgsql was written. I sent this patch a few years ago - it was support for RETURN NEXT ROW(...) but probably there was some issue Regards Pavel > > regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general