Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> OK, I have a setup that instead of refusing to load trusted functions if
> the Safe version is not up to date, forces them to error out by calling
> elog(ERROR...), thus:
> andrew=# select tval();
> ERROR: trusted perl functions disabled - please upgrade perl Safe
> module to at least 2.09
> This seems like perfectly reasonable recovery to me. Thoughts?
Works for me --- and it doesn't leak memory across repeated failures,
right?
Patch please?
regards, tom lane