I have been unable to duplicate the error with simple test function in
an external lib and with a similar sql function in the database.
Recompiling and re-installing the original external library seems to
have resolved the issue.
Robert Kruus
robert(dot)kruus(at)gov(dot)sk(dot)ca