How to Install and Use PL/Lua
- Install PL/Lua
apk add pllua
- Install PL/Lua on your database.
psql -U postgres -f /usr/share/postgresql/contrib/pllua.sql <DBNAME>
Official documentation is found at http://pllua.projects.postgresql.org/.
These functions may not be listed in other documentation, but were found by printing entries in _G in a PL/Lua trigger.
_PLVERSION PL/Lua fromstring function: info function: log function: notice function: server table: setshared function: shared table: trigger table: warning function: