$ luarocks install cqueues-pgsql
When used within a cqueues event loop your postgres operations will be non-blocking!
API is identical to luapgsql, please refer to documentation there: https://github.com/arcapos/luapgsql/blob/master/luapgsql.adoc
Versions
Dependencies
lua >= 5.1
luapgsql >= 1.6.1