libpqxx
« Back to VersTracker
Description:
C++ connector for PostgreSQL
Type: Formula  |  Latest Version: 7.10.4@0  |  Tracked Since: Dec 6, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: c++ postgresql database sql library
Install: brew install libpqxx
About:
libpqxx is a C++ client API for PostgreSQL, acting as a wrapper around the standard C library libpq. It provides a type-safe, object-oriented interface that simplifies writing C++ programs to access and manipulate PostgreSQL databases. The library handles connection management, query execution, and result processing while adhering to modern C++ standards.
Key Features:
  • Type-safe database access
  • Exception-based error handling
  • Transaction support (ACID)
  • Asynchronous query execution
  • Standard C++ compliance
Use Cases:
  • Building high-performance C++ applications that require persistent database connections
  • Developing data-intensive backend services with strict type safety requirements
  • Migrating legacy C applications to modern C++ database access patterns
Alternatives:
  • libpq – Lower-level C API, more verbose but offers direct control without C++ abstractions
  • soci – Database-agnostic abstraction layer supporting multiple backends, whereas libpqxx is PostgreSQL-specific
Version History
Detected Version Rev Change Commit
Dec 6, 2025 1:54pm 0 VERSION_BUMP 326f00ce
Sep 16, 2025 10:14pm 0 VERSION_BUMP a936c32e
Sep 11, 2025 12:48am 0 VERSION_BUMP 08ad26df
Dec 23, 2024 2:09am 0 VERSION_BUMP 2b115cb2