libpq@16
« Back to VersTracker
Description:
Postgres C API library
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  @postgresql  |  formulae.brew.sh
Category: Databases
Tags: postgresql database c-library sql client
Install: brew install libpq@16
About:
Libpq is the C application programmer's interface to PostgreSQL. It is a library that allows client programs to interact with a PostgreSQL server. This version (16) corresponds to PostgreSQL 16, providing the latest features and protocol support.
Key Features:
  • Asynchronous query execution and connection handling
  • Support for SSL/TLS encrypted connections
  • Large object manipulation capabilities
  • Prepared statements and parameter binding
Use Cases:
  • Building high-performance C/C++ applications that interact with PostgreSQL
  • Developing custom database drivers or ORMs for PostgreSQL
  • Direct database interaction for server-side applications
Alternatives:
  • libpqxx – C++ wrapper for libpq providing an object-oriented interface
  • ODBC – Standardized database API, generally heavier than direct libpq usage
Version History
Detected Version Rev Change Commit
Sep 26, 2025 10:11pm 0 VERSION_BUMP 9603a321
Sep 16, 2025 10:40am 0 VERSION_BUMP 23f63413