node-pg-connection-pool

JSON →
library 0.9.1 ·javascript maintenance
verified Jun 5, 2026

Connection pool for node-postgres built on top of generic-pool providing simplified query execution and raw connection management. Version 0.9.1 is the latest stable release. It supports ES6 features like Promises, Maps, and Sets, requiring Node >=4. The library offers a seamless interface for running queries without manually managing connections, while also allowing direct access to raw pg clients via acquire/release. It is configurable with pgOptions (for node-postgres client parameters) and poolOptions (for generic-pool configuration), and optionally supports native pg bindings. It is an alternative to other pooling solutions like pg-pool, but is less actively maintained.