CMD + K

libpqxx

Community

The official C++ client API for PostgreSQL

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::libpqxx

Usage Tracking

8.0.1
8.0.0
7.10.5
7.10.4
7.10.3
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

libpqxx is a C++ client API for PostgreSQL, the enterprise-strength open-source relational database. (If "PostgreSQL" is too verbose, call it by its shorter name, postgres).

If you are writing software in C++ that needs to access databases managed by postgres —on just about any platform— then libpqxx is the library you use.

The source code for libpqxx is available under the BSD license, so you're free to download it, pass it on to others, change it, sell it, include it in your own code, and share your changes with anyone you choose. No charge, no catch. Also, no guarantees. :-)

Libpqxx is a wrapper around the C client API, called libpq. But for bulk data retrieval it can actually be faster than libpq. It also provides an easier, more "C++-native" API with advanced language features.

About

Summary

The official C++ client API for PostgreSQL

Last Updated

Apr 6, 2026 at 21:21

License

BSD-3-Clause

Supported Platforms

win-64
macOS-arm64
macOS-64
linux-ppc64le
linux-aarch64
linux-64