PL/Java is a free add-on module that brings Java™ Stored Procedures, Triggers, Functions, Aggregates, Operators, Types, etc., to the PostgreSQL™ backend.
The clever arrangements in Function_vpcInvoke to avoid duplicating the context classloader assignment on the first call were too clever by half, because every call to vpcInvoke will have come through Function_invoke, which already assigned it, and therefore the duplicate assignment was still happening on every call but the first.
The clever arrangements in
Function_vpcInvoke
to avoid duplicating the context classloader assignment on the first call were too clever by half, because every call tovpcInvoke
will have come throughFunction_invoke
, which already assigned it, and therefore the duplicate assignment was still happening on every call but the first.Addresses #389.