{"library":"ha-pg","type":"library","category":null,"description":"High-Availability wrapper over node-postgres (pg) that enhances Pool resilience by addressing common issues like unreleased clients after network failures, inability to detect disconnections, client references remaining usable after release, pool.end() hanging, and query cancellation after reconnection. Current version 0.0.9, actively developed. Differentiators include auto-recovery, connection monitoring, client timeout for forced pool end, and remote query cancellation. Requires node-postgres as a peer dependency.","language":"javascript","status":"active","version":"0.0.9","tags":["javascript","postgresql","high-availability","backend","database","postgres","postgre","rdbms","libpq"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install ha-pg","imports":["const { Pool } = require('ha-pg');","import { Pool } from 'ha-pg';","const { Pool } = require('ha-pg');"]},{"cmd":"yarn add ha-pg","imports":[]},{"cmd":"pnpm add ha-pg","imports":[]}],"homepage":"https://github.com/bitifet/node-postgres-ha#readme","github":"https://github.com/bitifet/node-postgres-ha","docs":null,"changelog":null,"pypi":null,"npm":"ha-pg","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}