Improve plpgsql's ability to handle arguments declared as RECORD.