On 01/27/2010 08:41 AM, Aycock, Jeff R. wrote:
Adrian, I tried that as well and got the same error result. Regards, Jeff Aycock
I went back to the original function and assuming no cut/paste errors there is a ';' missing after the last END.
END; RETURN NEXT r; END LOOP; RETURN; END $BODY$ LANGUAGE 'plpgsql' ; -- Adrian Klaver adrian.klaver@xxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general