跳转到主要内容

pllua

Lua 程序语言

pllua · Lua 程序语言

概览

ID扩展软件包版本类别许可证编程语言
3020plluapllua2.0LANGMITC
属性可执行文件动态库需要预加载需要建扩展可迁移可信
--s-d--否是否是否否
关联
模式pg_catalog
被依赖hstore_pllua
相关扩展plv8 pljs plperl plperlu pgwasm plpython3u pltcl pg_tle
同包扩展hstore_pllua plluau hstore_plluau
pkg 2.0.12; SQL 2.0.

软件包

类型仓库版本兼容的 PostgreSQL 大版本包名模式依赖
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
软件包版本平台仓库大小下载
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
软件包版本平台仓库大小下载
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
软件包版本平台仓库大小下载
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
软件包版本平台仓库大小下载
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
软件包版本平台仓库大小下载
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

源码

pig build pkg pllua;		# build rpm

安装

启用 PGDG 和 PIGSTY 仓库并更新缓存。

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

使用 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 EXTENSION pllua;

用法

pllua: Lua 过程语言

pllua 允许在 PostgreSQL 中使用 Lua(5.3、5.4 或 LuaJIT 2.1)编写函数。

CREATE EXTENSION pllua;

创建函数

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 .. "!"
$$;

数据类型处理

参数会自动转换:整数/浮点数转为 Lua 数字,text/varchar 转为字符串,布尔值转为 Lua 布尔值,NULL 转为 nil。其他类型保持为 datum 对象。

使用 pgtype 构造类型化的值:

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

复合类型(行)

row.columnname     -- 按名称访问
row[3]             -- 按属性编号访问
for colname, value, attnum in pairs(row) do ... end

集合返回函数

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

SPI 数据库访问

-- 简单查询
local rows = spi.execute("SELECT * FROM mytable WHERE id = $1", 42)

-- 行迭代器
for row in spi.rows("SELECT * FROM mytable") do
  print(row.name)
end

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

游标

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

触发器函数

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

触发器字段:trigger.event(INSERT/UPDATE/DELETE)、trigger.when(BEFORE/AFTER)、trigger.level(ROW/STATEMENT)、trigger.new、trigger.old、trigger.row。

错误处理

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

-- 使用 pcall 进行子事务
local ok, err = pcall(function()
  spi.execute("INSERT INTO mytable VALUES ($1)", val)
end)

日志记录

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

表格阅读器