jtv/libpqxx
The official C++ client API for PostgreSQL. observed · 2026-08-28
Health v2 · maintenance only
91/100
- Activity 95
- Release rhythm 81
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 48.0
- age_days: 3632
- days_rel: 46
- days_push: 30
- n_releases_24m: 11
Adoption not part of the score
1349 stars · 292 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
libpqxx is the official C++ client API for PostgreSQL, wrapping the C libpq library in a modern, C++-native interface with transaction and connection classes. It is actively maintained, with the 8.x series requiring C++20 and building via CMake or configure.
Use cases
- connect to a postgresql database from c++
- run sql queries and transactions in c++
- c++ postgres client library
- bulk data retrieval from postgres in c++
- replace raw libpq calls with a c++-native api
When to choose
- you are writing C++ software that needs to access PostgreSQL
- you want an idiomatic C++ API with RAII-style transactions over raw libpq
- you need the official, long-maintained PostgreSQL binding for C++
When to avoid
- you use a different database than PostgreSQL
- your project is stuck on a pre-C++20 compiler and you need the latest 8.x features
- you need an ORM or schema management rather than a client driver
Facets
library · maturity stable
database-driver database databases developer-tools backend windows cpp cross-platform postgresql libpq sql transactions cplusplus linux macos
3 sources
- readme: https://github.com/jtv/libpqxx · fetched 2026-08-28 · c7082ab5be32
- homepage: http://pqxx.org/libpqxx/ · fetched 2026-08-29 · e995372da30a
- site_page: https://pqxx.org/libpqxx/faq · fetched 2026-08-29 · efffb8de07b5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jtv/libpqxx | main | 91 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem