Skip to content

pg_jinx

JNI bridge for PostgreSQL stored procedures, triggers, and foreign data wrappers written in Java.

pg_jinx · JNI bridge for PostgreSQL stored procedures, triggers, and foreign data wrappers written in Java.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101912pg_jinxpg_jinx2.3LANGC

Usage

Sources:

pg_jinx JNI bridge for PostgreSQL stored procedures, triggers, and foreign data wrappers written in Java.

Enablement

Install the files for the intended server, then create pg_jinx in the target database:

CREATE EXTENSION pg_jinx;

Core Workflow

The following example is taken from the reviewed upstream documentation. Adapt object names, paths, credentials, and workload values before use.

SELECT * FROM jproperties;

Main Objects

The reviewed install surface includes these prominent objects:

ObjectKindOperational role
jinx.TestTriggerTABLEExtension-owned table; account for its data in backup and upgrades.
jinx.countRowsFUNCTIONCallable function from the reviewed install surface.
jinx.example_rsFUNCTIONCallable function from the reviewed install surface.
jinx.fdw_handlerFUNCTIONCallable function from the reviewed install surface.
jinx.fdw_validatorFUNCTIONCallable function from the reviewed install surface.
jinx.getGravatarFUNCTIONCallable function from the reviewed install surface.
jinx.getOptionsFUNCTIONCallable function from the reviewed install surface.
jinx.inline_handlerFUNCTIONCallable function from the reviewed install surface.

Operations and Boundaries

  • Catalog lifecycle is abandoned; test upgrades, dump/restore, and server compatibility before production use.

Table reader