An implementation of Java as a procedural language

PL/Java is an implementation of Java as a PostgreSQL procedural language.

PL/Java was introduced in 2003.

Release history

This is a summary of recent significant releases; for a full and detailed list of releases, see the PL/Java release notes and the PL/Java release page.

Note there was a long hiatus in development between 1.4.0 and 1.5.0.


Unusually for a non-core extension, the PostgreSQL core code as of commit f4aa3a18 (PostgreSQL 9.6, backported as far back as PostgreSQL 9.1) contains code (see src/backend/utils/misc/guc.c, function init_custom_variable()) to mitigate a possible security issue present in PL/Java versions prior to 1.5.0 .


For a classic "Hello World!" example, see: The obligatory Hello example


Procedural language