tada / pljava

PL/Java is a free add-on module that brings Java™ Stored Procedures, Triggers, Functions, Aggregates, Operators, Types, etc., to the PostgreSQL™ backend.
http://tada.github.io/pljava/
Other
238 stars 77 forks source link

Avoid Session split-brain syndrome #395

Closed jcflack closed 2 years ago

jcflack commented 2 years ago

0772030 inadvertently created a chance for the user code to retrieve one Session instance from SessionManager.current() while implementation code gets a different one from Backend.getSession().

In passing, fix a typo in the Session API interface's javadocs.

Addresses #388.