JavaScript to C/C++ bindings for PostgreSQL libpq