libpq

Install command:
brew install libpq

Also known as: libpq@17

Postgres C API library

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

License: PostgreSQL

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

Formula code: libpq.rb on GitHub

Bottle (binary package) installation support provided for:

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

Current versions:

stable 17.6

Other versions:

libpq@16 16.10 Postgres C API library

Keg-only

Depends on:

icu4c@77 77.1 C/C++ and Java libraries for Unicode and globalization
krb5 1.22.1 Network authentication protocol
openssl@3 3.5.2 Cryptography and SSL/TLS Toolkit

Depends on when building from source:

docbook 5.1 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 47,502
libpq --HEAD 37
Installs on Request (30 days)
libpq 20,463
libpq --HEAD 37
Build Errors (30 days)
libpq 14
Installs (90 days)
libpq 116,953
libpq --HEAD 84
Installs on Request (90 days)
libpq 44,832
libpq --HEAD 84
Installs (365 days)
libpq 693,576
libpq --HEAD 661
Installs on Request (365 days)
libpq 304,712
libpq --HEAD 660