$ luarocks install luapgsql
A Lua Binding for PostgreSQL
Is it for you or should you go with LuaSQL instead? That depends on whether you just need
a few simple and probably database agnostic SQL statements or if you want to use the many
advanced features of PostgreSQL like asynchronous notifications etc. LuaPgSQL is not
a database agnostic interface, it is specifically for PostgreSQL, where it supports all
functionality that the C interface does as well (plus some "Luaisms" that come in handy).
Versions
Dependencies
lua >= 5.1, < 5.4