Minor safety additions to PG_restricted_eval to keep potentially undefined variables from throwing errors. These may not be the best fixes. (search for "undefined line number")
Changed paths: