Skip to content

pllua

Lua as a procedural language

pllua · Lua as a procedural language

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3020plluapllua2.0LANGMITC
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--s-d--NoYesNoYesnono
Relationships
Schemaspg_catalog
Need Byhstore_pllua
See Alsoplv8 pljs plperl plperlu pgwasm plpython3u pltcl pg_tle
Siblingshstore_pllua plluau hstore_plluau
pkg 2.0.12; SQL 2.0.

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXTPIGSTY2.019 18 17 16 15pllua-
RPMPIGSTY2.0.1219 18 17 16 15pllua_$v-
DEBPGDG2.0.1219 18 17 16 15postgresql-$v-pllua-
Linux / PGPG19PG18PG17PG16PG15
el8.x86_64N/APIGSTY 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
el8.aarch64N/APIGSTY 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
el9.x86_64MISSPIGSTY 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
el9.aarch64MISSPIGSTY 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
el10.x86_64MISSPIGSTY 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
el10.aarch64MISSPIGSTY 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
d12.x86_64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
d12.aarch64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
d13.x86_64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
d13.aarch64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
u22.x86_64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
u22.aarch64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
u24.x86_64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
u24.aarch64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
u26.x86_64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
u26.aarch64PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12PGDG 2.0.12
PackageVersionOSORGSIZEFile URL
postgresql-19-pllua2.0.12d12.x86_64pgdg349.4 KiBpostgresql-19-pllua_2.0.12-9.pgdg12+1_amd64.deb
postgresql-19-pllua2.0.12d12.aarch64pgdg338.0 KiBpostgresql-19-pllua_2.0.12-9.pgdg12+1_arm64.deb
postgresql-19-pllua2.0.12d13.x86_64pgdg350.2 KiBpostgresql-19-pllua_2.0.12-9.pgdg13+1_amd64.deb
postgresql-19-pllua2.0.12d13.aarch64pgdg338.6 KiBpostgresql-19-pllua_2.0.12-9.pgdg13+1_arm64.deb
postgresql-19-pllua2.0.12u22.x86_64pgdg356.5 KiBpostgresql-19-pllua_2.0.12-9.pgdg22.04+1_amd64.deb
postgresql-19-pllua2.0.12u22.aarch64pgdg343.8 KiBpostgresql-19-pllua_2.0.12-9.pgdg22.04+1_arm64.deb
postgresql-19-pllua2.0.12u24.x86_64pgdg349.2 KiBpostgresql-19-pllua_2.0.12-9.pgdg24.04+1_amd64.deb
postgresql-19-pllua2.0.12u24.aarch64pgdg337.8 KiBpostgresql-19-pllua_2.0.12-9.pgdg24.04+1_arm64.deb
postgresql-19-pllua2.0.12u26.x86_64pgdg346.0 KiBpostgresql-19-pllua_2.0.12-9.pgdg26.04+1_amd64.deb
postgresql-19-pllua2.0.12u26.aarch64pgdg334.1 KiBpostgresql-19-pllua_2.0.12-9.pgdg26.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pllua_182.0.12el8.x86_64pigsty362.5 KiBpllua_18-2.0.12-1PGSTY.el8.x86_64.rpm
pllua_182.0.12el8.aarch64pigsty351.6 KiBpllua_18-2.0.12-1PGSTY.el8.aarch64.rpm
pllua_182.0.12el9.x86_64pigsty366.0 KiBpllua_18-2.0.12-1PGSTY.el9.x86_64.rpm
pllua_182.0.12el9.aarch64pigsty359.9 KiBpllua_18-2.0.12-1PGSTY.el9.aarch64.rpm
pllua_182.0.12el10.x86_64pigsty369.7 KiBpllua_18-2.0.12-1PGSTY.el10.x86_64.rpm
pllua_182.0.12el10.aarch64pigsty363.5 KiBpllua_18-2.0.12-1PGSTY.el10.aarch64.rpm
postgresql-18-pllua2.0.12d12.x86_64pgdg349.2 KiBpostgresql-18-pllua_2.0.12-9.pgdg12+1_amd64.deb
postgresql-18-pllua2.0.12d12.x86_64pgdg348.7 KiBpostgresql-18-pllua_2.0.12-8.pgdg12+1_amd64.deb
postgresql-18-pllua2.0.12d12.x86_64pgdg347.6 KiBpostgresql-18-pllua_2.0.12-7.pgdg12+1_amd64.deb
postgresql-18-pllua2.0.12d12.aarch64pgdg337.4 KiBpostgresql-18-pllua_2.0.12-9.pgdg12+1_arm64.deb
postgresql-18-pllua2.0.12d12.aarch64pgdg337.1 KiBpostgresql-18-pllua_2.0.12-8.pgdg12+1_arm64.deb
postgresql-18-pllua2.0.12d12.aarch64pgdg336.3 KiBpostgresql-18-pllua_2.0.12-7.pgdg12+1_arm64.deb
postgresql-18-pllua2.0.12d13.x86_64pgdg350.0 KiBpostgresql-18-pllua_2.0.12-9.pgdg13+1_amd64.deb
postgresql-18-pllua2.0.12d13.x86_64pgdg349.4 KiBpostgresql-18-pllua_2.0.12-8.pgdg13+1_amd64.deb
postgresql-18-pllua2.0.12d13.x86_64pgdg348.2 KiBpostgresql-18-pllua_2.0.12-7.pgdg13+1_amd64.deb
postgresql-18-pllua2.0.12d13.aarch64pgdg337.8 KiBpostgresql-18-pllua_2.0.12-9.pgdg13+1_arm64.deb
postgresql-18-pllua2.0.12d13.aarch64pgdg337.4 KiBpostgresql-18-pllua_2.0.12-8.pgdg13+1_arm64.deb
postgresql-18-pllua2.0.12d13.aarch64pgdg336.2 KiBpostgresql-18-pllua_2.0.12-7.pgdg13+1_arm64.deb
postgresql-18-pllua2.0.12u22.x86_64pgdg356.6 KiBpostgresql-18-pllua_2.0.12-9.pgdg22.04+1_amd64.deb
postgresql-18-pllua2.0.12u22.x86_64pgdg356.1 KiBpostgresql-18-pllua_2.0.12-8.pgdg22.04+1_amd64.deb
postgresql-18-pllua2.0.12u22.x86_64pgdg354.5 KiBpostgresql-18-pllua_2.0.12-7.pgdg22.04+1_amd64.deb
postgresql-18-pllua2.0.12u22.aarch64pgdg343.9 KiBpostgresql-18-pllua_2.0.12-9.pgdg22.04+1_arm64.deb
postgresql-18-pllua2.0.12u22.aarch64pgdg343.0 KiBpostgresql-18-pllua_2.0.12-8.pgdg22.04+1_arm64.deb
postgresql-18-pllua2.0.12u22.aarch64pgdg341.8 KiBpostgresql-18-pllua_2.0.12-7.pgdg22.04+1_arm64.deb
postgresql-18-pllua2.0.12u24.x86_64pgdg349.1 KiBpostgresql-18-pllua_2.0.12-9.pgdg24.04+1_amd64.deb
postgresql-18-pllua2.0.12u24.x86_64pgdg348.6 KiBpostgresql-18-pllua_2.0.12-8.pgdg24.04+1_amd64.deb
postgresql-18-pllua2.0.12u24.x86_64pgdg347.6 KiBpostgresql-18-pllua_2.0.12-7.pgdg24.04+1_amd64.deb
postgresql-18-pllua2.0.12u24.aarch64pgdg337.4 KiBpostgresql-18-pllua_2.0.12-9.pgdg24.04+1_arm64.deb
postgresql-18-pllua2.0.12u24.aarch64pgdg336.5 KiBpostgresql-18-pllua_2.0.12-8.pgdg24.04+1_arm64.deb
postgresql-18-pllua2.0.12u24.aarch64pgdg335.4 KiBpostgresql-18-pllua_2.0.12-7.pgdg24.04+1_arm64.deb
postgresql-18-pllua2.0.12u26.x86_64pgdg346.8 KiBpostgresql-18-pllua_2.0.12-9.pgdg26.04+1_amd64.deb
postgresql-18-pllua2.0.12u26.x86_64pgdg346.3 KiBpostgresql-18-pllua_2.0.12-8.pgdg26.04+1_amd64.deb
postgresql-18-pllua2.0.12u26.x86_64pgdg345.1 KiBpostgresql-18-pllua_2.0.12-7.pgdg26.04+1_amd64.deb
postgresql-18-pllua2.0.12u26.aarch64pgdg333.6 KiBpostgresql-18-pllua_2.0.12-9.pgdg26.04+1_arm64.deb
postgresql-18-pllua2.0.12u26.aarch64pgdg333.1 KiBpostgresql-18-pllua_2.0.12-8.pgdg26.04+1_arm64.deb
postgresql-18-pllua2.0.12u26.aarch64pgdg332.1 KiBpostgresql-18-pllua_2.0.12-7.pgdg26.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pllua_172.0.12el8.x86_64pgdg121.2 KiBpllua_17-2.0.12-10PGDG.rhel8.10.x86_64.rpm
pllua_172.0.12el8.x86_64pgdg119.4 KiBpllua_17-2.0.12-3PGDG.rhel8.x86_64.rpm
pllua_172.0.12el8.x86_64pigsty362.3 KiBpllua_17-2.0.12-1PGSTY.el8.x86_64.rpm
pllua_172.0.12el8.aarch64pgdg112.6 KiBpllua_17-2.0.12-10PGDG.rhel8.10.aarch64.rpm
pllua_172.0.12el8.aarch64pgdg110.9 KiBpllua_17-2.0.12-3PGDG.rhel8.aarch64.rpm
pllua_172.0.12el8.aarch64pigsty351.3 KiBpllua_17-2.0.12-1PGSTY.el8.aarch64.rpm
pllua_172.0.12el9.x86_64pgdg121.7 KiBpllua_17-2.0.12-10PGDG.rhel9.9.x86_64.rpm
pllua_172.0.12el9.x86_64pgdg121.7 KiBpllua_17-2.0.12-10PGDG.rhel9.8.x86_64.rpm
pllua_172.0.12el9.x86_64pgdg121.7 KiBpllua_17-2.0.12-10PGDG.rhel9.7.x86_64.rpm
pllua_172.0.12el9.x86_64pgdg120.3 KiBpllua_17-2.0.12-6PGDG.rhel9.8.x86_64.rpm
pllua_172.0.12el9.x86_64pgdg120.4 KiBpllua_17-2.0.12-3PGDG.rhel9.x86_64.rpm
pllua_172.0.12el9.x86_64pigsty365.5 KiBpllua_17-2.0.12-1PGSTY.el9.x86_64.rpm
pllua_172.0.12el9.aarch64pgdg116.4 KiBpllua_17-2.0.12-10PGDG.rhel9.9.aarch64.rpm
pllua_172.0.12el9.aarch64pgdg116.5 KiBpllua_17-2.0.12-10PGDG.rhel9.8.aarch64.rpm
pllua_172.0.12el9.aarch64pgdg116.5 KiBpllua_17-2.0.12-10PGDG.rhel9.7.aarch64.rpm
pllua_172.0.12el9.aarch64pgdg115.1 KiBpllua_17-2.0.12-6PGDG.rhel9.8.aarch64.rpm
pllua_172.0.12el9.aarch64pgdg115.3 KiBpllua_17-2.0.12-3PGDG.rhel9.aarch64.rpm
pllua_172.0.12el9.aarch64pigsty359.4 KiBpllua_17-2.0.12-1PGSTY.el9.aarch64.rpm
pllua_172.0.12el10.x86_64pgdg123.6 KiBpllua_17-2.0.12-10PGDG.rhel10.3.x86_64.rpm
pllua_172.0.12el10.x86_64pgdg123.5 KiBpllua_17-2.0.12-10PGDG.rhel10.2.x86_64.rpm
pllua_172.0.12el10.x86_64pgdg123.5 KiBpllua_17-2.0.12-10PGDG.rhel10.1.x86_64.rpm
pllua_172.0.12el10.x86_64pgdg122.2 KiBpllua_17-2.0.12-6PGDG.rhel10.2.x86_64.rpm
pllua_172.0.12el10.x86_64pgdg122.4 KiBpllua_17-2.0.12-4PGDG.rhel10.x86_64.rpm
pllua_172.0.12el10.x86_64pigsty369.1 KiBpllua_17-2.0.12-1PGSTY.el10.x86_64.rpm
pllua_172.0.12el10.aarch64pgdg118.8 KiBpllua_17-2.0.12-10PGDG.rhel10.3.aarch64.rpm
pllua_172.0.12el10.aarch64pgdg118.9 KiBpllua_17-2.0.12-10PGDG.rhel10.2.aarch64.rpm
pllua_172.0.12el10.aarch64pgdg118.9 KiBpllua_17-2.0.12-10PGDG.rhel10.1.aarch64.rpm
pllua_172.0.12el10.aarch64pgdg117.5 KiBpllua_17-2.0.12-6PGDG.rhel10.2.aarch64.rpm
pllua_172.0.12el10.aarch64pgdg117.8 KiBpllua_17-2.0.12-4PGDG.rhel10.aarch64.rpm
pllua_172.0.12el10.aarch64pigsty363.2 KiBpllua_17-2.0.12-1PGSTY.el10.aarch64.rpm
postgresql-17-pllua2.0.12d12.x86_64pgdg348.3 KiBpostgresql-17-pllua_2.0.12-9.pgdg12+1_amd64.deb
postgresql-17-pllua2.0.12d12.x86_64pgdg348.2 KiBpostgresql-17-pllua_2.0.12-8.pgdg12+1_amd64.deb
postgresql-17-pllua2.0.12d12.x86_64pgdg347.0 KiBpostgresql-17-pllua_2.0.12-7.pgdg12+1_amd64.deb
postgresql-17-pllua2.0.12d12.aarch64pgdg337.0 KiBpostgresql-17-pllua_2.0.12-9.pgdg12+1_arm64.deb
postgresql-17-pllua2.0.12d12.aarch64pgdg336.3 KiBpostgresql-17-pllua_2.0.12-8.pgdg12+1_arm64.deb
postgresql-17-pllua2.0.12d12.aarch64pgdg335.6 KiBpostgresql-17-pllua_2.0.12-7.pgdg12+1_arm64.deb
postgresql-17-pllua2.0.12d13.x86_64pgdg349.4 KiBpostgresql-17-pllua_2.0.12-9.pgdg13+1_amd64.deb
postgresql-17-pllua2.0.12d13.x86_64pgdg348.9 KiBpostgresql-17-pllua_2.0.12-8.pgdg13+1_amd64.deb
postgresql-17-pllua2.0.12d13.x86_64pgdg347.9 KiBpostgresql-17-pllua_2.0.12-7.pgdg13+1_amd64.deb
postgresql-17-pllua2.0.12d13.aarch64pgdg337.5 KiBpostgresql-17-pllua_2.0.12-9.pgdg13+1_arm64.deb
postgresql-17-pllua2.0.12d13.aarch64pgdg336.6 KiBpostgresql-17-pllua_2.0.12-8.pgdg13+1_arm64.deb
postgresql-17-pllua2.0.12d13.aarch64pgdg336.0 KiBpostgresql-17-pllua_2.0.12-7.pgdg13+1_arm64.deb
postgresql-17-pllua2.0.12u22.x86_64pgdg395.9 KiBpostgresql-17-pllua_2.0.12-9.pgdg22.04+1_amd64.deb
postgresql-17-pllua2.0.12u22.x86_64pgdg395.4 KiBpostgresql-17-pllua_2.0.12-8.pgdg22.04+1_amd64.deb
postgresql-17-pllua2.0.12u22.x86_64pgdg391.0 KiBpostgresql-17-pllua_2.0.12-7.pgdg22.04+1_amd64.deb
postgresql-17-pllua2.0.12u22.aarch64pgdg383.7 KiBpostgresql-17-pllua_2.0.12-9.pgdg22.04+1_arm64.deb
postgresql-17-pllua2.0.12u22.aarch64pgdg382.6 KiBpostgresql-17-pllua_2.0.12-8.pgdg22.04+1_arm64.deb
postgresql-17-pllua2.0.12u22.aarch64pgdg379.2 KiBpostgresql-17-pllua_2.0.12-7.pgdg22.04+1_arm64.deb
postgresql-17-pllua2.0.12u24.x86_64pgdg348.5 KiBpostgresql-17-pllua_2.0.12-9.pgdg24.04+1_amd64.deb
postgresql-17-pllua2.0.12u24.x86_64pgdg348.1 KiBpostgresql-17-pllua_2.0.12-8.pgdg24.04+1_amd64.deb
postgresql-17-pllua2.0.12u24.x86_64pgdg347.0 KiBpostgresql-17-pllua_2.0.12-7.pgdg24.04+1_amd64.deb
postgresql-17-pllua2.0.12u24.aarch64pgdg336.5 KiBpostgresql-17-pllua_2.0.12-9.pgdg24.04+1_arm64.deb
postgresql-17-pllua2.0.12u24.aarch64pgdg335.9 KiBpostgresql-17-pllua_2.0.12-8.pgdg24.04+1_arm64.deb
postgresql-17-pllua2.0.12u24.aarch64pgdg335.0 KiBpostgresql-17-pllua_2.0.12-7.pgdg24.04+1_arm64.deb
postgresql-17-pllua2.0.12u26.x86_64pgdg345.8 KiBpostgresql-17-pllua_2.0.12-9.pgdg26.04+1_amd64.deb
postgresql-17-pllua2.0.12u26.x86_64pgdg345.9 KiBpostgresql-17-pllua_2.0.12-8.pgdg26.04+1_amd64.deb
postgresql-17-pllua2.0.12u26.x86_64pgdg344.7 KiBpostgresql-17-pllua_2.0.12-7.pgdg26.04+1_amd64.deb
postgresql-17-pllua2.0.12u26.aarch64pgdg332.4 KiBpostgresql-17-pllua_2.0.12-9.pgdg26.04+1_arm64.deb
postgresql-17-pllua2.0.12u26.aarch64pgdg331.7 KiBpostgresql-17-pllua_2.0.12-8.pgdg26.04+1_arm64.deb
postgresql-17-pllua2.0.12u26.aarch64pgdg331.5 KiBpostgresql-17-pllua_2.0.12-7.pgdg26.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pllua_162.0.12el8.x86_64pgdg121.2 KiBpllua_16-2.0.12-10PGDG.rhel8.10.x86_64.rpm
pllua_162.0.12el8.x86_64pigsty362.0 KiBpllua_16-2.0.12-1PGSTY.el8.x86_64.rpm
pllua_162.0.12el8.x86_64pgdg119.2 KiBpllua_16-2.0.12-1PGDG.rhel8.x86_64.rpm
pllua_162.0.12el8.aarch64pgdg112.6 KiBpllua_16-2.0.12-10PGDG.rhel8.10.aarch64.rpm
pllua_162.0.12el8.aarch64pigsty351.3 KiBpllua_16-2.0.12-1PGSTY.el8.aarch64.rpm
pllua_162.0.12el8.aarch64pgdg110.6 KiBpllua_16-2.0.12-1PGDG.rhel8.aarch64.rpm
pllua_162.0.12el9.x86_64pgdg121.8 KiBpllua_16-2.0.12-10PGDG.rhel9.9.x86_64.rpm
pllua_162.0.12el9.x86_64pgdg121.7 KiBpllua_16-2.0.12-10PGDG.rhel9.8.x86_64.rpm
pllua_162.0.12el9.x86_64pgdg121.8 KiBpllua_16-2.0.12-10PGDG.rhel9.7.x86_64.rpm
pllua_162.0.12el9.x86_64pgdg120.4 KiBpllua_16-2.0.12-6PGDG.rhel9.8.x86_64.rpm
pllua_162.0.12el9.x86_64pigsty365.5 KiBpllua_16-2.0.12-1PGSTY.el9.x86_64.rpm
pllua_162.0.12el9.x86_64pgdg120.1 KiBpllua_16-2.0.12-1PGDG.rhel9.x86_64.rpm
pllua_162.0.12el9.aarch64pgdg116.5 KiBpllua_16-2.0.12-10PGDG.rhel9.9.aarch64.rpm
pllua_162.0.12el9.aarch64pgdg116.5 KiBpllua_16-2.0.12-10PGDG.rhel9.8.aarch64.rpm
pllua_162.0.12el9.aarch64pgdg116.5 KiBpllua_16-2.0.12-10PGDG.rhel9.7.aarch64.rpm
pllua_162.0.12el9.aarch64pgdg115.2 KiBpllua_16-2.0.12-6PGDG.rhel9.8.aarch64.rpm
pllua_162.0.12el9.aarch64pigsty359.4 KiBpllua_16-2.0.12-1PGSTY.el9.aarch64.rpm
pllua_162.0.12el9.aarch64pgdg115.5 KiBpllua_16-2.0.12-1PGDG.rhel9.aarch64.rpm
pllua_162.0.12el10.x86_64pgdg123.7 KiBpllua_16-2.0.12-10PGDG.rhel10.3.x86_64.rpm
pllua_162.0.12el10.x86_64pgdg123.7 KiBpllua_16-2.0.12-10PGDG.rhel10.2.x86_64.rpm
pllua_162.0.12el10.x86_64pgdg123.7 KiBpllua_16-2.0.12-10PGDG.rhel10.1.x86_64.rpm
pllua_162.0.12el10.x86_64pgdg122.5 KiBpllua_16-2.0.12-6PGDG.rhel10.2.x86_64.rpm
pllua_162.0.12el10.x86_64pgdg122.7 KiBpllua_16-2.0.12-4PGDG.rhel10.x86_64.rpm
pllua_162.0.12el10.x86_64pigsty369.2 KiBpllua_16-2.0.12-1PGSTY.el10.x86_64.rpm
pllua_162.0.12el10.aarch64pgdg118.7 KiBpllua_16-2.0.12-10PGDG.rhel10.3.aarch64.rpm
pllua_162.0.12el10.aarch64pgdg118.8 KiBpllua_16-2.0.12-10PGDG.rhel10.2.aarch64.rpm
pllua_162.0.12el10.aarch64pgdg118.8 KiBpllua_16-2.0.12-10PGDG.rhel10.1.aarch64.rpm
pllua_162.0.12el10.aarch64pgdg117.4 KiBpllua_16-2.0.12-6PGDG.rhel10.2.aarch64.rpm
pllua_162.0.12el10.aarch64pgdg117.7 KiBpllua_16-2.0.12-4PGDG.rhel10.aarch64.rpm
pllua_162.0.12el10.aarch64pigsty363.3 KiBpllua_16-2.0.12-1PGSTY.el10.aarch64.rpm
postgresql-16-pllua2.0.12d12.x86_64pgdg348.4 KiBpostgresql-16-pllua_2.0.12-9.pgdg12+1_amd64.deb
postgresql-16-pllua2.0.12d12.x86_64pgdg347.9 KiBpostgresql-16-pllua_2.0.12-8.pgdg12+1_amd64.deb
postgresql-16-pllua2.0.12d12.x86_64pgdg346.9 KiBpostgresql-16-pllua_2.0.12-7.pgdg12+1_amd64.deb
postgresql-16-pllua2.0.12d12.aarch64pgdg336.9 KiBpostgresql-16-pllua_2.0.12-9.pgdg12+1_arm64.deb
postgresql-16-pllua2.0.12d12.aarch64pgdg336.7 KiBpostgresql-16-pllua_2.0.12-8.pgdg12+1_arm64.deb
postgresql-16-pllua2.0.12d12.aarch64pgdg335.7 KiBpostgresql-16-pllua_2.0.12-7.pgdg12+1_arm64.deb
postgresql-16-pllua2.0.12d13.x86_64pgdg349.4 KiBpostgresql-16-pllua_2.0.12-9.pgdg13+1_amd64.deb
postgresql-16-pllua2.0.12d13.x86_64pgdg348.8 KiBpostgresql-16-pllua_2.0.12-8.pgdg13+1_amd64.deb
postgresql-16-pllua2.0.12d13.x86_64pgdg347.9 KiBpostgresql-16-pllua_2.0.12-7.pgdg13+1_amd64.deb
postgresql-16-pllua2.0.12d13.aarch64pgdg337.8 KiBpostgresql-16-pllua_2.0.12-9.pgdg13+1_arm64.deb
postgresql-16-pllua2.0.12d13.aarch64pgdg336.9 KiBpostgresql-16-pllua_2.0.12-8.pgdg13+1_arm64.deb
postgresql-16-pllua2.0.12d13.aarch64pgdg335.8 KiBpostgresql-16-pllua_2.0.12-7.pgdg13+1_arm64.deb
postgresql-16-pllua2.0.12u22.x86_64pgdg393.8 KiBpostgresql-16-pllua_2.0.12-9.pgdg22.04+1_amd64.deb
postgresql-16-pllua2.0.12u22.x86_64pgdg393.2 KiBpostgresql-16-pllua_2.0.12-8.pgdg22.04+1_amd64.deb
postgresql-16-pllua2.0.12u22.x86_64pgdg389.6 KiBpostgresql-16-pllua_2.0.12-7.pgdg22.04+1_amd64.deb
postgresql-16-pllua2.0.12u22.aarch64pgdg381.6 KiBpostgresql-16-pllua_2.0.12-9.pgdg22.04+1_arm64.deb
postgresql-16-pllua2.0.12u22.aarch64pgdg381.1 KiBpostgresql-16-pllua_2.0.12-8.pgdg22.04+1_arm64.deb
postgresql-16-pllua2.0.12u22.aarch64pgdg377.5 KiBpostgresql-16-pllua_2.0.12-7.pgdg22.04+1_arm64.deb
postgresql-16-pllua2.0.12u24.x86_64pgdg349.0 KiBpostgresql-16-pllua_2.0.12-9.pgdg24.04+1_amd64.deb
postgresql-16-pllua2.0.12u24.x86_64pgdg348.3 KiBpostgresql-16-pllua_2.0.12-8.pgdg24.04+1_amd64.deb
postgresql-16-pllua2.0.12u24.x86_64pgdg347.1 KiBpostgresql-16-pllua_2.0.12-7.pgdg24.04+1_amd64.deb
postgresql-16-pllua2.0.12u24.aarch64pgdg336.5 KiBpostgresql-16-pllua_2.0.12-9.pgdg24.04+1_arm64.deb
postgresql-16-pllua2.0.12u24.aarch64pgdg335.9 KiBpostgresql-16-pllua_2.0.12-8.pgdg24.04+1_arm64.deb
postgresql-16-pllua2.0.12u24.aarch64pgdg335.1 KiBpostgresql-16-pllua_2.0.12-7.pgdg24.04+1_arm64.deb
postgresql-16-pllua2.0.12u26.x86_64pgdg345.8 KiBpostgresql-16-pllua_2.0.12-9.pgdg26.04+1_amd64.deb
postgresql-16-pllua2.0.12u26.x86_64pgdg344.9 KiBpostgresql-16-pllua_2.0.12-8.pgdg26.04+1_amd64.deb
postgresql-16-pllua2.0.12u26.x86_64pgdg344.8 KiBpostgresql-16-pllua_2.0.12-7.pgdg26.04+1_amd64.deb
postgresql-16-pllua2.0.12u26.aarch64pgdg332.6 KiBpostgresql-16-pllua_2.0.12-9.pgdg26.04+1_arm64.deb
postgresql-16-pllua2.0.12u26.aarch64pgdg332.7 KiBpostgresql-16-pllua_2.0.12-8.pgdg26.04+1_arm64.deb
postgresql-16-pllua2.0.12u26.aarch64pgdg331.8 KiBpostgresql-16-pllua_2.0.12-7.pgdg26.04+1_arm64.deb
PackageVersionOSORGSIZEFile URL
pllua_152.0.12el8.x86_64pgdg123.1 KiBpllua_15-2.0.12-10PGDG.rhel8.10.x86_64.rpm
pllua_152.0.12el8.x86_64pigsty363.8 KiBpllua_15-2.0.12-1PGSTY.el8.x86_64.rpm
pllua_152.0.11el8.x86_64pgdg120.9 KiBpllua_15-2.0.11-1.rhel8.x86_64.rpm
pllua_152.0.10el8.x86_64pgdg120.9 KiBpllua_15-2.0.10-1.rhel8.x86_64.rpm
pllua_152.0.12el8.aarch64pgdg114.2 KiBpllua_15-2.0.12-10PGDG.rhel8.10.aarch64.rpm
pllua_152.0.12el8.aarch64pigsty352.5 KiBpllua_15-2.0.12-1PGSTY.el8.aarch64.rpm
pllua_152.0.12el9.x86_64pgdg125.3 KiBpllua_15-2.0.12-10PGDG.rhel9.9.x86_64.rpm
pllua_152.0.12el9.x86_64pgdg125.3 KiBpllua_15-2.0.12-10PGDG.rhel9.8.x86_64.rpm
pllua_152.0.12el9.x86_64pgdg125.3 KiBpllua_15-2.0.12-10PGDG.rhel9.7.x86_64.rpm
pllua_152.0.12el9.x86_64pgdg123.9 KiBpllua_15-2.0.12-6PGDG.rhel9.8.x86_64.rpm
pllua_152.0.12el9.x86_64pigsty368.4 KiBpllua_15-2.0.12-1PGSTY.el9.x86_64.rpm
pllua_152.0.11el9.x86_64pgdg123.5 KiBpllua_15-2.0.11-1.rhel9.x86_64.rpm
pllua_152.0.10el9.x86_64pgdg123.8 KiBpllua_15-2.0.10-1.rhel9.x86_64.rpm
pllua_152.0.12el9.aarch64pgdg119.1 KiBpllua_15-2.0.12-10PGDG.rhel9.9.aarch64.rpm
pllua_152.0.12el9.aarch64pgdg119.2 KiBpllua_15-2.0.12-10PGDG.rhel9.8.aarch64.rpm
pllua_152.0.12el9.aarch64pgdg119.2 KiBpllua_15-2.0.12-10PGDG.rhel9.7.aarch64.rpm
pllua_152.0.12el9.aarch64pgdg118.0 KiBpllua_15-2.0.12-6PGDG.rhel9.8.aarch64.rpm
pllua_152.0.12el9.aarch64pigsty361.7 KiBpllua_15-2.0.12-1PGSTY.el9.aarch64.rpm
pllua_152.0.12el10.x86_64pgdg127.0 KiBpllua_15-2.0.12-10PGDG.rhel10.3.x86_64.rpm
pllua_152.0.12el10.x86_64pgdg127.0 KiBpllua_15-2.0.12-10PGDG.rhel10.2.x86_64.rpm
pllua_152.0.12el10.x86_64pgdg127.1 KiBpllua_15-2.0.12-10PGDG.rhel10.1.x86_64.rpm
pllua_152.0.12el10.x86_64pgdg125.5 KiBpllua_15-2.0.12-6PGDG.rhel10.2.x86_64.rpm
pllua_152.0.12el10.x86_64pgdg125.8 KiBpllua_15-2.0.12-4PGDG.rhel10.x86_64.rpm
pllua_152.0.12el10.x86_64pigsty371.1 KiBpllua_15-2.0.12-1PGSTY.el10.x86_64.rpm
pllua_152.0.12el10.aarch64pgdg121.4 KiBpllua_15-2.0.12-10PGDG.rhel10.3.aarch64.rpm
pllua_152.0.12el10.aarch64pgdg121.4 KiBpllua_15-2.0.12-10PGDG.rhel10.2.aarch64.rpm
pllua_152.0.12el10.aarch64pgdg121.4 KiBpllua_15-2.0.12-10PGDG.rhel10.1.aarch64.rpm
pllua_152.0.12el10.aarch64pgdg120.2 KiBpllua_15-2.0.12-6PGDG.rhel10.2.aarch64.rpm
pllua_152.0.12el10.aarch64pgdg120.4 KiBpllua_15-2.0.12-4PGDG.rhel10.aarch64.rpm
pllua_152.0.12el10.aarch64pigsty365.1 KiBpllua_15-2.0.12-1PGSTY.el10.aarch64.rpm
postgresql-15-pllua2.0.12d12.x86_64pgdg350.3 KiBpostgresql-15-pllua_2.0.12-9.pgdg12+1_amd64.deb
postgresql-15-pllua2.0.12d12.x86_64pgdg349.9 KiBpostgresql-15-pllua_2.0.12-8.pgdg12+1_amd64.deb
postgresql-15-pllua2.0.12d12.x86_64pgdg348.7 KiBpostgresql-15-pllua_2.0.12-7.pgdg12+1_amd64.deb
postgresql-15-pllua2.0.12d12.aarch64pgdg338.1 KiBpostgresql-15-pllua_2.0.12-9.pgdg12+1_arm64.deb
postgresql-15-pllua2.0.12d12.aarch64pgdg337.7 KiBpostgresql-15-pllua_2.0.12-8.pgdg12+1_arm64.deb
postgresql-15-pllua2.0.12d12.aarch64pgdg337.0 KiBpostgresql-15-pllua_2.0.12-7.pgdg12+1_arm64.deb
postgresql-15-pllua2.0.12d13.x86_64pgdg351.4 KiBpostgresql-15-pllua_2.0.12-9.pgdg13+1_amd64.deb
postgresql-15-pllua2.0.12d13.x86_64pgdg350.7 KiBpostgresql-15-pllua_2.0.12-8.pgdg13+1_amd64.deb
postgresql-15-pllua2.0.12d13.x86_64pgdg349.6 KiBpostgresql-15-pllua_2.0.12-7.pgdg13+1_amd64.deb
postgresql-15-pllua2.0.12d13.aarch64pgdg338.8 KiBpostgresql-15-pllua_2.0.12-9.pgdg13+1_arm64.deb
postgresql-15-pllua2.0.12d13.aarch64pgdg338.0 KiBpostgresql-15-pllua_2.0.12-8.pgdg13+1_arm64.deb
postgresql-15-pllua2.0.12d13.aarch64pgdg337.4 KiBpostgresql-15-pllua_2.0.12-7.pgdg13+1_arm64.deb
postgresql-15-pllua2.0.12u22.x86_64pgdg396.6 KiBpostgresql-15-pllua_2.0.12-9.pgdg22.04+1_amd64.deb
postgresql-15-pllua2.0.12u22.x86_64pgdg396.0 KiBpostgresql-15-pllua_2.0.12-8.pgdg22.04+1_amd64.deb
postgresql-15-pllua2.0.12u22.x86_64pgdg392.5 KiBpostgresql-15-pllua_2.0.12-7.pgdg22.04+1_amd64.deb
postgresql-15-pllua2.0.12u22.aarch64pgdg384.1 KiBpostgresql-15-pllua_2.0.12-9.pgdg22.04+1_arm64.deb
postgresql-15-pllua2.0.12u22.aarch64pgdg383.4 KiBpostgresql-15-pllua_2.0.12-8.pgdg22.04+1_arm64.deb
postgresql-15-pllua2.0.12u22.aarch64pgdg380.0 KiBpostgresql-15-pllua_2.0.12-7.pgdg22.04+1_arm64.deb
postgresql-15-pllua2.0.12u24.x86_64pgdg350.2 KiBpostgresql-15-pllua_2.0.12-9.pgdg24.04+1_amd64.deb
postgresql-15-pllua2.0.12u24.x86_64pgdg349.9 KiBpostgresql-15-pllua_2.0.12-8.pgdg24.04+1_amd64.deb
postgresql-15-pllua2.0.12u24.x86_64pgdg348.7 KiBpostgresql-15-pllua_2.0.12-7.pgdg24.04+1_amd64.deb
postgresql-15-pllua2.0.12u24.aarch64pgdg339.2 KiBpostgresql-15-pllua_2.0.12-9.pgdg24.04+1_arm64.deb
postgresql-15-pllua2.0.12u24.aarch64pgdg338.3 KiBpostgresql-15-pllua_2.0.12-8.pgdg24.04+1_arm64.deb
postgresql-15-pllua2.0.12u24.aarch64pgdg337.2 KiBpostgresql-15-pllua_2.0.12-7.pgdg24.04+1_arm64.deb
postgresql-15-pllua2.0.12u26.x86_64pgdg347.6 KiBpostgresql-15-pllua_2.0.12-9.pgdg26.04+1_amd64.deb
postgresql-15-pllua2.0.12u26.x86_64pgdg347.3 KiBpostgresql-15-pllua_2.0.12-8.pgdg26.04+1_amd64.deb
postgresql-15-pllua2.0.12u26.x86_64pgdg346.1 KiBpostgresql-15-pllua_2.0.12-7.pgdg26.04+1_amd64.deb
postgresql-15-pllua2.0.12u26.aarch64pgdg335.8 KiBpostgresql-15-pllua_2.0.12-9.pgdg26.04+1_arm64.deb
postgresql-15-pllua2.0.12u26.aarch64pgdg334.2 KiBpostgresql-15-pllua_2.0.12-8.pgdg26.04+1_arm64.deb
postgresql-15-pllua2.0.12u26.aarch64pgdg333.7 KiBpostgresql-15-pllua_2.0.12-7.pgdg26.04+1_arm64.deb

Source

pig build pkg pllua;		# build rpm

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 pllua;		# install by package name

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

Create this extension with:

CREATE EXTENSION pllua;

Usage

pllua: Lua as a procedural language

pllua enables writing PostgreSQL functions in Lua (5.3, 5.4, or LuaJIT 2.1).

CREATE EXTENSION pllua;

Create Functions

CREATE FUNCTION lua_max(a integer, b integer) RETURNS integer LANGUAGE pllua AS $$
  if a > b then return a else return b end
$$;

CREATE FUNCTION hello(name text) RETURNS text LANGUAGE pllua AS $$
  return "Hello, " .. name .. "!"
$$;

Data Type Handling

Arguments are automatically converted: integers/floats to Lua numbers, text/varchar to strings, booleans to Lua booleans, NULL to nil. Other types remain as datum objects.

Construct typed values with pgtype:

pgtype.numeric(1234)
pgtype.date('2017-12-01')
pgtype.array.integer(1, 2, 3, 4)
pgtype.numrange(1, 2)

Composite Types (Rows)

row.columnname     -- access by name
row[3]             -- access by attribute number
for colname, value, attnum in pairs(row) do ... end

Set-Returning Functions

CREATE FUNCTION generate_n(n integer) RETURNS SETOF integer LANGUAGE pllua AS $$
  for i = 1, n do
    coroutine.yield(i)
  end
$$;

SPI Database Access

-- Simple query
local rows = spi.execute("SELECT * FROM mytable WHERE id = $1", 42)

-- Row iterator
for row in spi.rows("SELECT * FROM mytable") do
  print(row.name)
end

-- Prepared statements
local stmt = spi.prepare("SELECT * FROM users WHERE id = $1", {'integer'})
local result = stmt:execute(42)
for row in stmt:rows(42) do ... end

Cursors

local cursor = spi.newcursor()
cursor:open("SELECT * FROM items")
local rows = cursor:fetch(10)
cursor:move(5)
cursor:close()

Trigger Functions

CREATE FUNCTION my_trigger() RETURNS trigger LANGUAGE pllua AS $$
  function(trigger, old, new)
    trigger.row = new
    return trigger.row
  end
$$;

Trigger fields: trigger.event (INSERT/UPDATE/DELETE), trigger.when (BEFORE/AFTER), trigger.level (ROW/STATEMENT), trigger.new, trigger.old, trigger.row.

Error Handling

spi.error('division_by_zero', 'Cannot divide by zero')
spi.notice('informational message')
spi.warning('warning message')

-- Subtransactions with pcall
local ok, err = pcall(function()
  spi.execute("INSERT INTO mytable VALUES ($1)", val)
end)

Logging

print("info message")
spi.debug("debug")
spi.notice("notice")
spi.warning("warning")
spi.error("error")

Table reader