Skip to content

pllju

LuaJIT FFI PostgreSQL language extension

pllju · LuaJIT FFI PostgreSQL language extension

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
101717plljupllju0.1LANGMITC

Usage

Sources:

pllju — LuaJIT FFI PostgreSQL language extension. Use it when database code must run in or interoperate with this procedural language. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.

Core Workflow

CREATE EXTENSION pllju;

Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.

Important Objects

  • pllj_call_handler_u() is an extension function and returns language_handler.
  • pllj_inline_handler_u(internal) is an extension function and returns VOID.
  • pllj_validator_u(oid) is an extension function and returns VOID.

Requirements and Caveats

  • The reviewed control file declares default version 0.1.
  • The control file marks the extension as non-relocatable.
  • Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.

Table reader