libpq

Install command:
brew install libpq

Also known as: libpq@18

Postgres C API library

https://www.postgresql.org/docs/current/libpq.html

License: PostgreSQL

Development: Pull requests

Formula JSON API: /api/formula/libpq.json

Formula code: libpq.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
macOS on
Intel
sonoma
Linux ARM64
x86_64

Current versions:

stable 18.2

Other versions:

libpq@17 17.8 Postgres C API library
libpq@16 16.12 Postgres C API library

Keg-only

Depends on:

icu4c@78 78.2 C/C++ and Java libraries for Unicode and globalization
krb5 1.22.2 Network authentication protocol
openssl@3 3.6.1 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

docbook 5.2 Standard XML representation system for technical documents
docbook-xsl 1.79.2 XML vocabulary to create presentation-neutral documents
pkgconf 2.5.1 Package compiler and linker metadata toolkit

Analytics:

Installs (30 days)
libpq 49,026
libpq --HEAD 49
Installs on Request (30 days)
libpq 23,239
libpq --HEAD 48
Build Errors (30 days)
libpq 88
Installs (90 days)
libpq 119,165
libpq --HEAD 91
Installs on Request (90 days)
libpq 51,434
libpq --HEAD 90
Installs (365 days)
libpq 580,718
libpq --HEAD 486
Installs on Request (365 days)
libpq 236,674
libpq --HEAD 484