Install
pg
PostgreSQL client - pure javascript & libpq with the same API
8.23.1Latest, 30 Sep 2026
44MDownloads, last month
0Advisories on the latest
1Advisories, all versions
MITLicence
13KStars
5.6/10OpenSSF Scorecard
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Critical | Remote Code Execution in pg CVE-2017-16082 | Fixed in 6.4.2, 7.0.2, 7.1.2 | 24 Jul 2018 |
In the news
- Velero Postgres Backup: Send pg_dump Offsite, Not the Data Directory dev.to, 3 Dec 2026
- Four ways to run a Node CLI that shells out to pg_dump dev.to, 2 Dec 2026
- Your Node pg query_timeout doesn't stop the query in Postgres dev.to, 1 Dec 2026
- Fix 'sorry, too many clients already' and hanging queries in Node pg dev.to, 26 Nov 2026
- Man writes 'PG mein khana nahi hai' in order note, restaurant has a surprise for him indiatoday.in, 26 Nov 2026
On Hacker News
- Twitter suspends pg's account [fixed] 1790 points, 1194 comments, 18 Dec 2022
- PG and Jessica 555 points, 323 comments, 25 Sep 2020
- PG: The biggest source of stress for me at YC was running HN 482 points, 426 comments, 11 Jul 2020
- pg_durable: Microsoft open sources in-database durable execution 474 points, 108 comments, 5 Jun 2026
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.