You have to be a super user to be able change the owner of a procedure. Below is the syntax where proc_name is the name of the procedure and datatype1, datatype2, datatype3 are the datatypes of arguments and new_owner is the name of the new owner.
ALTER PROCEDURE proc_name(datatype1, datatype2, datatype3,..) OWNER TO new_owner;