Skip to content

pljs

PL/JS trusted procedural language

pljs · PL/JS trusted procedural language

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3011pljspljs1.0.6LANGPostgreSQLC
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d--NoYesNoYesnono
Relationships
Schemaspg_catalog
See Alsoplv8 pllua pgwasm pg_tle

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTMIXED1.0.619 18 17 16 15pljs-
RPMPIGSTY1.0.619 18 17 16 15pljs_$v-
DEBPGDG1.0.619 18 17 16 15postgresql-$v-pljs-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6
el8.aarch64N/APIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6
el9.x86_64PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6
el9.aarch64PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6
el10.x86_64PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6
el10.aarch64PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6PIGSTY 1.0.6
d12.x86_64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
d12.aarch64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
d13.x86_64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
d13.aarch64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
u22.x86_64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
u22.aarch64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
u24.x86_64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
u24.aarch64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
u26.x86_64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
u26.aarch64PIGSTY 1.0.6PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5PGDG 1.0.5
PackageVersionOSORGSIZEFile URL
pljs_191.0.6el9.x86_64pigsty520.1 KiBpljs_19-1.0.6-1PGSTY.el9.x86_64.rpm
pljs_191.0.6el9.aarch64pigsty506.7 KiBpljs_19-1.0.6-1PGSTY.el9.aarch64.rpm
pljs_191.0.6el10.x86_64pigsty552.3 KiBpljs_19-1.0.6-1PGSTY.el10.x86_64.rpm
pljs_191.0.6el10.aarch64pigsty521.5 KiBpljs_19-1.0.6-1PGSTY.el10.aarch64.rpm
postgresql-19-pljs1.0.6d12.x86_64pigsty494.9 KiBpostgresql-19-pljs_1.0.6-1PGSTY~bookworm_amd64.deb
postgresql-19-pljs1.0.6d12.aarch64pigsty456.9 KiBpostgresql-19-pljs_1.0.6-1PGSTY~bookworm_arm64.deb
postgresql-19-pljs1.0.6d13.x86_64pigsty514.6 KiBpostgresql-19-pljs_1.0.6-1PGSTY~trixie_amd64.deb
postgresql-19-pljs1.0.6d13.aarch64pigsty461.5 KiBpostgresql-19-pljs_1.0.6-1PGSTY~trixie_arm64.deb
postgresql-19-pljs1.0.6u22.x86_64pigsty509.6 KiBpostgresql-19-pljs_1.0.6-1PGSTY~jammy_amd64.deb
postgresql-19-pljs1.0.6u22.aarch64pigsty496.6 KiBpostgresql-19-pljs_1.0.6-1PGSTY~jammy_arm64.deb
postgresql-19-pljs1.0.6u24.x86_64pigsty506.1 KiBpostgresql-19-pljs_1.0.6-1PGSTY~noble_amd64.deb
postgresql-19-pljs1.0.6u24.aarch64pigsty495.4 KiBpostgresql-19-pljs_1.0.6-1PGSTY~noble_arm64.deb
postgresql-19-pljs1.0.6u26.x86_64pigsty527.6 KiBpostgresql-19-pljs_1.0.6-1PGSTY~resolute_amd64.deb
postgresql-19-pljs1.0.6u26.aarch64pigsty499.6 KiBpostgresql-19-pljs_1.0.6-1PGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pljs_181.0.6el8.x86_64pigsty525.2 KiBpljs_18-1.0.6-1PGSTY.el8.x86_64.rpm
pljs_181.0.6el8.aarch64pigsty489.6 KiBpljs_18-1.0.6-1PGSTY.el8.aarch64.rpm
pljs_181.0.6el9.x86_64pigsty520.6 KiBpljs_18-1.0.6-1PGSTY.el9.x86_64.rpm
pljs_181.0.6el9.aarch64pigsty506.5 KiBpljs_18-1.0.6-1PGSTY.el9.aarch64.rpm
pljs_181.0.6el10.x86_64pigsty552.5 KiBpljs_18-1.0.6-1PGSTY.el10.x86_64.rpm
pljs_181.0.6el10.aarch64pigsty521.4 KiBpljs_18-1.0.6-1PGSTY.el10.aarch64.rpm
postgresql-18-pljs1.0.5d12.x86_64pgdg410.3 KiBpostgresql-18-pljs_1.0.5-1.pgdg12+2_amd64.deb
postgresql-18-pljs1.0.5d12.x86_64pgdg410.1 KiBpostgresql-18-pljs_1.0.5-1.pgdg12+1_amd64.deb
postgresql-18-pljs1.0.5d12.x86_64pigsty409.1 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~bookworm_amd64.deb
postgresql-18-pljs1.0.5d12.aarch64pgdg375.3 KiBpostgresql-18-pljs_1.0.5-1.pgdg12+2_arm64.deb
postgresql-18-pljs1.0.5d12.aarch64pgdg375.3 KiBpostgresql-18-pljs_1.0.5-1.pgdg12+1_arm64.deb
postgresql-18-pljs1.0.5d12.aarch64pigsty374.6 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~bookworm_arm64.deb
postgresql-18-pljs1.0.5d13.x86_64pgdg429.4 KiBpostgresql-18-pljs_1.0.5-1.pgdg13+2_amd64.deb
postgresql-18-pljs1.0.5d13.x86_64pgdg429.3 KiBpostgresql-18-pljs_1.0.5-1.pgdg13+1_amd64.deb
postgresql-18-pljs1.0.5d13.x86_64pigsty428.3 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~trixie_amd64.deb
postgresql-18-pljs1.0.5d13.aarch64pgdg381.7 KiBpostgresql-18-pljs_1.0.5-1.pgdg13+2_arm64.deb
postgresql-18-pljs1.0.5d13.aarch64pgdg381.8 KiBpostgresql-18-pljs_1.0.5-1.pgdg13+1_arm64.deb
postgresql-18-pljs1.0.5d13.aarch64pigsty380.5 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~trixie_arm64.deb
postgresql-18-pljs1.0.5u22.x86_64pgdg407.0 KiBpostgresql-18-pljs_1.0.5-1.pgdg22.04+2_amd64.deb
postgresql-18-pljs1.0.5u22.x86_64pgdg407.3 KiBpostgresql-18-pljs_1.0.5-1.pgdg22.04+1_amd64.deb
postgresql-18-pljs1.0.5u22.x86_64pigsty434.7 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~jammy_amd64.deb
postgresql-18-pljs1.0.5u22.aarch64pgdg373.1 KiBpostgresql-18-pljs_1.0.5-1.pgdg22.04+2_arm64.deb
postgresql-18-pljs1.0.5u22.aarch64pgdg373.2 KiBpostgresql-18-pljs_1.0.5-1.pgdg22.04+1_arm64.deb
postgresql-18-pljs1.0.5u22.aarch64pigsty424.5 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~jammy_arm64.deb
postgresql-18-pljs1.0.5u24.x86_64pgdg408.4 KiBpostgresql-18-pljs_1.0.5-1.pgdg24.04+2_amd64.deb
postgresql-18-pljs1.0.5u24.x86_64pgdg408.6 KiBpostgresql-18-pljs_1.0.5-1.pgdg24.04+1_amd64.deb
postgresql-18-pljs1.0.5u24.x86_64pigsty432.1 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~noble_amd64.deb
postgresql-18-pljs1.0.5u24.aarch64pgdg375.8 KiBpostgresql-18-pljs_1.0.5-1.pgdg24.04+2_arm64.deb
postgresql-18-pljs1.0.5u24.aarch64pgdg376.9 KiBpostgresql-18-pljs_1.0.5-1.pgdg24.04+1_arm64.deb
postgresql-18-pljs1.0.5u24.aarch64pigsty422.6 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~noble_arm64.deb
postgresql-18-pljs1.0.5u26.x86_64pgdg429.4 KiBpostgresql-18-pljs_1.0.5-1.pgdg26.04+2_amd64.deb
postgresql-18-pljs1.0.5u26.x86_64pgdg429.2 KiBpostgresql-18-pljs_1.0.5-1.pgdg26.04+1_amd64.deb
postgresql-18-pljs1.0.5u26.x86_64pigsty453.5 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~resolute_amd64.deb
postgresql-18-pljs1.0.5u26.aarch64pgdg381.4 KiBpostgresql-18-pljs_1.0.5-1.pgdg26.04+2_arm64.deb
postgresql-18-pljs1.0.5u26.aarch64pgdg381.4 KiBpostgresql-18-pljs_1.0.5-1.pgdg26.04+1_arm64.deb
postgresql-18-pljs1.0.5u26.aarch64pigsty429.2 KiBpostgresql-18-pljs_1.0.5-1PIGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pljs_171.0.6el8.x86_64pigsty524.6 KiBpljs_17-1.0.6-1PGSTY.el8.x86_64.rpm
pljs_171.0.6el8.aarch64pigsty489.4 KiBpljs_17-1.0.6-1PGSTY.el8.aarch64.rpm
pljs_171.0.6el9.x86_64pigsty520.0 KiBpljs_17-1.0.6-1PGSTY.el9.x86_64.rpm
pljs_171.0.6el9.aarch64pigsty506.4 KiBpljs_17-1.0.6-1PGSTY.el9.aarch64.rpm
pljs_171.0.6el10.x86_64pigsty552.2 KiBpljs_17-1.0.6-1PGSTY.el10.x86_64.rpm
pljs_171.0.6el10.aarch64pigsty521.1 KiBpljs_17-1.0.6-1PGSTY.el10.aarch64.rpm
postgresql-17-pljs1.0.5d12.x86_64pgdg410.1 KiBpostgresql-17-pljs_1.0.5-1.pgdg12+2_amd64.deb
postgresql-17-pljs1.0.5d12.x86_64pgdg410.0 KiBpostgresql-17-pljs_1.0.5-1.pgdg12+1_amd64.deb
postgresql-17-pljs1.0.5d12.x86_64pigsty408.8 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~bookworm_amd64.deb
postgresql-17-pljs1.0.5d12.aarch64pgdg375.8 KiBpostgresql-17-pljs_1.0.5-1.pgdg12+2_arm64.deb
postgresql-17-pljs1.0.5d12.aarch64pgdg375.2 KiBpostgresql-17-pljs_1.0.5-1.pgdg12+1_arm64.deb
postgresql-17-pljs1.0.5d12.aarch64pigsty373.9 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~bookworm_arm64.deb
postgresql-17-pljs1.0.5d13.x86_64pgdg429.1 KiBpostgresql-17-pljs_1.0.5-1.pgdg13+2_amd64.deb
postgresql-17-pljs1.0.5d13.x86_64pgdg429.3 KiBpostgresql-17-pljs_1.0.5-1.pgdg13+1_amd64.deb
postgresql-17-pljs1.0.5d13.x86_64pigsty427.8 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~trixie_amd64.deb
postgresql-17-pljs1.0.5d13.aarch64pgdg382.2 KiBpostgresql-17-pljs_1.0.5-1.pgdg13+2_arm64.deb
postgresql-17-pljs1.0.5d13.aarch64pgdg381.7 KiBpostgresql-17-pljs_1.0.5-1.pgdg13+1_arm64.deb
postgresql-17-pljs1.0.5d13.aarch64pigsty380.7 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~trixie_arm64.deb
postgresql-17-pljs1.0.5u22.x86_64pgdg423.3 KiBpostgresql-17-pljs_1.0.5-1.pgdg22.04+2_amd64.deb
postgresql-17-pljs1.0.5u22.x86_64pgdg422.9 KiBpostgresql-17-pljs_1.0.5-1.pgdg22.04+1_amd64.deb
postgresql-17-pljs1.0.5u22.x86_64pigsty450.8 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~jammy_amd64.deb
postgresql-17-pljs1.0.5u22.aarch64pgdg389.9 KiBpostgresql-17-pljs_1.0.5-1.pgdg22.04+2_arm64.deb
postgresql-17-pljs1.0.5u22.aarch64pgdg389.6 KiBpostgresql-17-pljs_1.0.5-1.pgdg22.04+1_arm64.deb
postgresql-17-pljs1.0.5u22.aarch64pigsty440.0 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~jammy_arm64.deb
postgresql-17-pljs1.0.5u24.x86_64pgdg408.3 KiBpostgresql-17-pljs_1.0.5-1.pgdg24.04+2_amd64.deb
postgresql-17-pljs1.0.5u24.x86_64pgdg407.9 KiBpostgresql-17-pljs_1.0.5-1.pgdg24.04+1_amd64.deb
postgresql-17-pljs1.0.5u24.x86_64pigsty431.6 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~noble_amd64.deb
postgresql-17-pljs1.0.5u24.aarch64pgdg375.8 KiBpostgresql-17-pljs_1.0.5-1.pgdg24.04+2_arm64.deb
postgresql-17-pljs1.0.5u24.aarch64pgdg375.8 KiBpostgresql-17-pljs_1.0.5-1.pgdg24.04+1_arm64.deb
postgresql-17-pljs1.0.5u24.aarch64pigsty422.4 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~noble_arm64.deb
postgresql-17-pljs1.0.5u26.x86_64pgdg429.2 KiBpostgresql-17-pljs_1.0.5-1.pgdg26.04+2_amd64.deb
postgresql-17-pljs1.0.5u26.x86_64pgdg428.9 KiBpostgresql-17-pljs_1.0.5-1.pgdg26.04+1_amd64.deb
postgresql-17-pljs1.0.5u26.x86_64pigsty453.0 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~resolute_amd64.deb
postgresql-17-pljs1.0.5u26.aarch64pgdg381.6 KiBpostgresql-17-pljs_1.0.5-1.pgdg26.04+2_arm64.deb
postgresql-17-pljs1.0.5u26.aarch64pgdg382.0 KiBpostgresql-17-pljs_1.0.5-1.pgdg26.04+1_arm64.deb
postgresql-17-pljs1.0.5u26.aarch64pigsty429.4 KiBpostgresql-17-pljs_1.0.5-1PIGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pljs_161.0.6el8.x86_64pigsty524.7 KiBpljs_16-1.0.6-1PGSTY.el8.x86_64.rpm
pljs_161.0.6el8.aarch64pigsty489.5 KiBpljs_16-1.0.6-1PGSTY.el8.aarch64.rpm
pljs_161.0.6el9.x86_64pigsty519.9 KiBpljs_16-1.0.6-1PGSTY.el9.x86_64.rpm
pljs_161.0.6el9.aarch64pigsty506.1 KiBpljs_16-1.0.6-1PGSTY.el9.aarch64.rpm
pljs_161.0.6el10.x86_64pigsty551.8 KiBpljs_16-1.0.6-1PGSTY.el10.x86_64.rpm
pljs_161.0.6el10.aarch64pigsty520.9 KiBpljs_16-1.0.6-1PGSTY.el10.aarch64.rpm
postgresql-16-pljs1.0.5d12.x86_64pgdg410.2 KiBpostgresql-16-pljs_1.0.5-1.pgdg12+2_amd64.deb
postgresql-16-pljs1.0.5d12.x86_64pgdg410.0 KiBpostgresql-16-pljs_1.0.5-1.pgdg12+1_amd64.deb
postgresql-16-pljs1.0.5d12.x86_64pigsty408.8 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~bookworm_amd64.deb
postgresql-16-pljs1.0.5d12.aarch64pgdg375.6 KiBpostgresql-16-pljs_1.0.5-1.pgdg12+2_arm64.deb
postgresql-16-pljs1.0.5d12.aarch64pgdg375.2 KiBpostgresql-16-pljs_1.0.5-1.pgdg12+1_arm64.deb
postgresql-16-pljs1.0.5d12.aarch64pigsty374.9 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~bookworm_arm64.deb
postgresql-16-pljs1.0.5d13.x86_64pgdg429.2 KiBpostgresql-16-pljs_1.0.5-1.pgdg13+2_amd64.deb
postgresql-16-pljs1.0.5d13.x86_64pgdg429.1 KiBpostgresql-16-pljs_1.0.5-1.pgdg13+1_amd64.deb
postgresql-16-pljs1.0.5d13.x86_64pigsty427.8 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~trixie_amd64.deb
postgresql-16-pljs1.0.5d13.aarch64pgdg382.0 KiBpostgresql-16-pljs_1.0.5-1.pgdg13+2_arm64.deb
postgresql-16-pljs1.0.5d13.aarch64pgdg381.8 KiBpostgresql-16-pljs_1.0.5-1.pgdg13+1_arm64.deb
postgresql-16-pljs1.0.5d13.aarch64pigsty380.8 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~trixie_arm64.deb
postgresql-16-pljs1.0.5u22.x86_64pgdg421.7 KiBpostgresql-16-pljs_1.0.5-1.pgdg22.04+2_amd64.deb
postgresql-16-pljs1.0.5u22.x86_64pgdg421.7 KiBpostgresql-16-pljs_1.0.5-1.pgdg22.04+1_amd64.deb
postgresql-16-pljs1.0.5u22.x86_64pigsty449.2 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~jammy_amd64.deb
postgresql-16-pljs1.0.5u22.aarch64pgdg388.1 KiBpostgresql-16-pljs_1.0.5-1.pgdg22.04+2_arm64.deb
postgresql-16-pljs1.0.5u22.aarch64pgdg387.7 KiBpostgresql-16-pljs_1.0.5-1.pgdg22.04+1_arm64.deb
postgresql-16-pljs1.0.5u22.aarch64pigsty439.1 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~jammy_arm64.deb
postgresql-16-pljs1.0.5u24.x86_64pgdg408.2 KiBpostgresql-16-pljs_1.0.5-1.pgdg24.04+2_amd64.deb
postgresql-16-pljs1.0.5u24.x86_64pgdg408.0 KiBpostgresql-16-pljs_1.0.5-1.pgdg24.04+1_amd64.deb
postgresql-16-pljs1.0.5u24.x86_64pigsty431.7 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~noble_amd64.deb
postgresql-16-pljs1.0.5u24.aarch64pgdg375.8 KiBpostgresql-16-pljs_1.0.5-1.pgdg24.04+2_arm64.deb
postgresql-16-pljs1.0.5u24.aarch64pgdg375.9 KiBpostgresql-16-pljs_1.0.5-1.pgdg24.04+1_arm64.deb
postgresql-16-pljs1.0.5u24.aarch64pigsty422.5 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~noble_arm64.deb
postgresql-16-pljs1.0.5u26.x86_64pgdg429.5 KiBpostgresql-16-pljs_1.0.5-1.pgdg26.04+2_amd64.deb
postgresql-16-pljs1.0.5u26.x86_64pgdg428.7 KiBpostgresql-16-pljs_1.0.5-1.pgdg26.04+1_amd64.deb
postgresql-16-pljs1.0.5u26.x86_64pigsty453.0 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~resolute_amd64.deb
postgresql-16-pljs1.0.5u26.aarch64pgdg381.8 KiBpostgresql-16-pljs_1.0.5-1.pgdg26.04+2_arm64.deb
postgresql-16-pljs1.0.5u26.aarch64pgdg381.6 KiBpostgresql-16-pljs_1.0.5-1.pgdg26.04+1_arm64.deb
postgresql-16-pljs1.0.5u26.aarch64pigsty429.4 KiBpostgresql-16-pljs_1.0.5-1PIGSTY~resolute_arm64.deb
PackageVersionOSORGSIZEFile URL
pljs_151.0.6el8.x86_64pigsty525.3 KiBpljs_15-1.0.6-1PGSTY.el8.x86_64.rpm
pljs_151.0.6el8.aarch64pigsty489.9 KiBpljs_15-1.0.6-1PGSTY.el8.aarch64.rpm
pljs_151.0.6el9.x86_64pigsty521.2 KiBpljs_15-1.0.6-1PGSTY.el9.x86_64.rpm
pljs_151.0.6el9.aarch64pigsty507.8 KiBpljs_15-1.0.6-1PGSTY.el9.aarch64.rpm
pljs_151.0.6el10.x86_64pigsty553.0 KiBpljs_15-1.0.6-1PGSTY.el10.x86_64.rpm
pljs_151.0.6el10.aarch64pigsty521.9 KiBpljs_15-1.0.6-1PGSTY.el10.aarch64.rpm
postgresql-15-pljs1.0.5d12.x86_64pgdg410.2 KiBpostgresql-15-pljs_1.0.5-1.pgdg12+2_amd64.deb
postgresql-15-pljs1.0.5d12.x86_64pgdg409.9 KiBpostgresql-15-pljs_1.0.5-1.pgdg12+1_amd64.deb
postgresql-15-pljs1.0.5d12.x86_64pigsty408.6 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~bookworm_amd64.deb
postgresql-15-pljs1.0.5d12.aarch64pgdg375.8 KiBpostgresql-15-pljs_1.0.5-1.pgdg12+2_arm64.deb
postgresql-15-pljs1.0.5d12.aarch64pgdg375.5 KiBpostgresql-15-pljs_1.0.5-1.pgdg12+1_arm64.deb
postgresql-15-pljs1.0.5d12.aarch64pigsty374.3 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~bookworm_arm64.deb
postgresql-15-pljs1.0.5d13.x86_64pgdg429.6 KiBpostgresql-15-pljs_1.0.5-1.pgdg13+2_amd64.deb
postgresql-15-pljs1.0.5d13.x86_64pgdg429.4 KiBpostgresql-15-pljs_1.0.5-1.pgdg13+1_amd64.deb
postgresql-15-pljs1.0.5d13.x86_64pigsty428.6 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~trixie_amd64.deb
postgresql-15-pljs1.0.5d13.aarch64pgdg382.4 KiBpostgresql-15-pljs_1.0.5-1.pgdg13+2_arm64.deb
postgresql-15-pljs1.0.5d13.aarch64pgdg381.9 KiBpostgresql-15-pljs_1.0.5-1.pgdg13+1_arm64.deb
postgresql-15-pljs1.0.5d13.aarch64pigsty380.8 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~trixie_arm64.deb
postgresql-15-pljs1.0.5u22.x86_64pgdg421.8 KiBpostgresql-15-pljs_1.0.5-1.pgdg22.04+2_amd64.deb
postgresql-15-pljs1.0.5u22.x86_64pgdg421.9 KiBpostgresql-15-pljs_1.0.5-1.pgdg22.04+1_amd64.deb
postgresql-15-pljs1.0.5u22.x86_64pigsty449.6 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~jammy_amd64.deb
postgresql-15-pljs1.0.5u22.aarch64pgdg388.3 KiBpostgresql-15-pljs_1.0.5-1.pgdg22.04+2_arm64.deb
postgresql-15-pljs1.0.5u22.aarch64pgdg388.0 KiBpostgresql-15-pljs_1.0.5-1.pgdg22.04+1_arm64.deb
postgresql-15-pljs1.0.5u22.aarch64pigsty439.3 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~jammy_arm64.deb
postgresql-15-pljs1.0.5u24.x86_64pgdg408.9 KiBpostgresql-15-pljs_1.0.5-1.pgdg24.04+2_amd64.deb
postgresql-15-pljs1.0.5u24.x86_64pgdg408.1 KiBpostgresql-15-pljs_1.0.5-1.pgdg24.04+1_amd64.deb
postgresql-15-pljs1.0.5u24.x86_64pigsty432.0 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~noble_amd64.deb
postgresql-15-pljs1.0.5u24.aarch64pgdg377.5 KiBpostgresql-15-pljs_1.0.5-1.pgdg24.04+2_arm64.deb
postgresql-15-pljs1.0.5u24.aarch64pgdg376.5 KiBpostgresql-15-pljs_1.0.5-1.pgdg24.04+1_arm64.deb
postgresql-15-pljs1.0.5u24.aarch64pigsty423.0 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~noble_arm64.deb
postgresql-15-pljs1.0.5u26.x86_64pgdg429.2 KiBpostgresql-15-pljs_1.0.5-1.pgdg26.04+2_amd64.deb
postgresql-15-pljs1.0.5u26.x86_64pgdg429.3 KiBpostgresql-15-pljs_1.0.5-1.pgdg26.04+1_amd64.deb
postgresql-15-pljs1.0.5u26.x86_64pigsty453.8 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~resolute_amd64.deb
postgresql-15-pljs1.0.5u26.aarch64pgdg382.5 KiBpostgresql-15-pljs_1.0.5-1.pgdg26.04+2_arm64.deb
postgresql-15-pljs1.0.5u26.aarch64pgdg382.3 KiBpostgresql-15-pljs_1.0.5-1.pgdg26.04+1_arm64.deb
postgresql-15-pljs1.0.5u26.aarch64pigsty430.8 KiBpostgresql-15-pljs_1.0.5-1PIGSTY~resolute_arm64.deb

Source

pig build pkg pljs;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pljs;		# install by package name

pig install pljs -v 19;   # install for PG 19
pig install pljs -v 18;   # install for PG 18
pig install pljs -v 17;   # install for PG 17
pig install pljs -v 16;   # install for PG 16
pig install pljs -v 15;   # install for PG 15

Create this extension with:

CREATE EXTENSION pljs;

Usage

Sources:

pljs 1.0.6 runs PostgreSQL functions in the QuickJS JavaScript engine. The upstream README describes PostgreSQL 14 and later; this release explicitly adds PostgreSQL 19 and its CI matrix covers 16–19. Review the conversion changes below before upgrading existing functions.

Create Functions

A superuser installs the extension into pg_catalog. It creates a trusted procedural language; the extension itself still requires superuser installation and is not relocatable. No shared preload is required.

CREATE EXTENSION pljs;
CREATE FUNCTION js_add(a integer, b integer) RETURNS integer
LANGUAGE pljs AS $$ return a + b; $$;
SELECT js_add(1, 2);
DO $$ pljs.elog(NOTICE, "Hello, World!"); $$ LANGUAGE pljs;
SELECT pljs_version();

Functions use ordinary PostgreSQL privileges. pljs_info() returns runtime memory information, but the installation SQL revokes its PUBLIC permission; grant it only where appropriate.

SQL Access and Resources

pljs.execute(sql, args) executes SQL with positional parameters and returns result rows or the affected-row count. pljs.prepare(sql, types) creates a reusable plan; call plan.free() when finished. A plan also supports plan.cursor(args), with fetch(), move() and close() on the cursor.

CREATE FUNCTION js_lookup(value integer) RETURNS integer
LANGUAGE pljs AS $$
    var plan = pljs.prepare('SELECT $1::integer + 1 AS result', ['integer']);
    try {
        return plan.execute([value])[0].result;
    } finally {
        plan.free();
    }
$$;
SELECT js_lookup(41);

pljs.subtransaction(callback) runs a callback in a subtransaction, allowing JavaScript to catch its PostgreSQL errors. In 1.0.6 caught PostgreSQL errors expose e.sqlstate; rethrowing the caught object preserves that SQLSTATE. Cursor errors and errors from pljs.return_next() can be caught without silently tearing down the outer SPI connection.

Additional Interfaces

pljs.return_next(row) emits rows from a set-returning function. Return objects must match the declared result columns. pljs.find_function(name) resolves another PLJS function subject to execution permission. pljs.elog(level, message) emits PostgreSQL messages. Trigger functions receive the trigger context and can execute SQL in 1.0.6. Window functions use pljs.get_window_object() for partition positions, row counts, peer comparisons, argument access and partition-local state.

Configuration

The versioned implementation defines pljs.execution_timeout in seconds: default 300, range 1–65536, user-settable. pljs.memory_limit is a superuser setting in MB: default 512, range 64–3096; changing it updates an initialized runtime. pljs.start_proc names a function invoked when the user’s JavaScript context is initialized, subject to execution permission. These are session/server settings; memory limits should be considered per backend, not as a cluster-wide budget.

1.0.6 Upgrade Boundaries

The release fixes cursor and memory safety failures, Linux crashes in localeCompare() and normalize(), composite set-returning results, trigger SQL access and variadic argument forwarding. Replace sessions still using the old library after installing the release. Verify the loaded version with pljs_version(); the source Makefile generates a fresh installation SQL script, so do not assume it provides an arbitrary SQL upgrade path.

Review existing JavaScript for these behavior changes:

  • bytea arrives as Uint8Array, preserving arbitrary bytes. Code that treated it as UTF-8 text must convert deliberately.
  • int8 arrives as BigInt. Convert it explicitly before returning JSON, since ordinary JSON serialization rejects BigInt.
  • Types without dedicated converters use their own text I/O. Enums, money and OID aliases can now arrive as strings; cast an OID alias to oid in SQL when a numeric OID is required.
  • Domains follow their base conversions and enforce constraints. A domain over JSON now supplies a parsed value, and a domain over boolean supplies a boolean. Type modifiers are checked on returned composite/trigger columns.

Test affected functions and stored data conversions before replacing an older installation; fixing a converter does not repair data previously altered by it.

Table reader