Tom Lane wrote:


Recovering when you get an error is probably the trickiest part of this.



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?

cheers

andrew




---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster

Reply via email to