macOS
brew install libpqlocal Homebrew formula metadata
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für libpq in AI-Agent-Workflows.
Installation
brew install libpqlocal Homebrew formula metadata
sudo apk add libpqAlpine Linux edge package indexes · libpq · Quelle: dl-cdn.alpinelinux.org
sudo dnf install libpqFedora Rawhide package metadata · libpq · Quelle: dl.fedoraproject.org
sudo apt install pg-checksums-docDebian stable package indexes · pg-checksums-doc · Quelle: deb.debian.org
nix profile install nixpkgs#pg_checksumsnixpkgs package indexes · pkgs/by-name/pg/pg_checksums/package.nix · Quelle: api.github.com
Überblick
Postgres C API library
Verlauf
libpq is PostgreSQL's C client library: the small, stable-looking surface that lets C programs connect to PostgreSQL servers, submit queries, and read results. It also underlies several other PostgreSQL client interfaces, so packaging it separately gives developers the client headers, shared library, and familiar tools without requiring a Homebrew PostgreSQL server installation.
PostgreSQL descends from the Berkeley POSTGRES project, whose implementation began in 1986. The Postgres95 transition in 1994 replaced POSTQUEL with SQL and introduced `psql`; the PostgreSQL name arrived in 1996 to connect the POSTGRES heritage with SQL support.
The PostgreSQL manual notes that the `libpq` name came from PostQUEL. As PostgreSQL matured into a long-lived open source database, libpq became the canonical C API for client programs and a shared substrate for other language bindings and command-line clients.
libpq's adoption follows PostgreSQL's adoption: applications, drivers, migration tools, backup tools, and admin scripts need a PostgreSQL client layer even when the database server runs elsewhere. PostgreSQL's 2023 project announcement described the system as benefiting from more than 25 years of open source development and a global community of users, contributors, companies, and organizations.
Homebrew's `libpq` formula packages the client side as a keg-only formula. That matters on developer workstations because it avoids colliding with a full `postgresql` formula while still making `psql`, `pg_dump`, `pg_restore`, `pg_config`, and the C library available to builds and scripts.
Typical package-manager use is installing libpq so native extensions, database drivers, and command-line workflows can compile or run against PostgreSQL. Developers use `pg_config` to find build flags, `psql` for interactive sessions, and the dump/restore utilities for movement between PostgreSQL instances.
libpq is package-nerd significant because it is a dependency edge disguised as a database client. Many packages need PostgreSQL client headers and link libraries, but users often do not want a local database server; a separate formula keeps that dependency smaller and less invasive.
It also exposes PostgreSQL's major-version reality to package managers: client utilities can speak across versions, but dump, restore, upgrade, and extension-building workflows often care about exact major lines. That is why versioned formulae such as `libpq@16` and `libpq@17` are useful beside the unversioned formula.
Sicherheitslage
Für libpq wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
psqlrc in the directory reported by pg_config --sysconfdir~/.psqlrcpg_service.conf in the directory reported by pg_config --sysconfdir~/.pg_service.conf%APPDATA%\postgresql\psqlrc.conf%APPDATA%\postgresql\.pg_service.confCredential-bearing paths to review before unattended agent runs.
~/.pgpass%APPDATA%\postgresql\pgpass.confExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
clusterdb | cli | globales Executable | |
createdb | cli | globales Executable | |
createuser | cli | globales Executable | |
dropdb | cli | globales Executable | |
dropuser | cli | globales Executable | |
ecpg | cli | globales Executable | |
initdb | cli | globales Executable | |
pg_amcheck | cli | globales Executable | |
pg_archivecleanup | cli | globales Executable | |
pg_basebackup | cli | globales Executable | |
pg_checksums | cli | globales Executable | |
pg_combinebackup | cli | globales Executable | |
pg_config | cli | globales Executable | |
pg_controldata | cli | globales Executable | |
pg_createsubscriber | cli | globales Executable | |
pg_ctl | cli | globales Executable | |
pg_dump | cli | globales Executable | |
pg_dumpall | cli | globales Executable | |
pg_isready | cli | globales Executable | |
pg_receivewal | cli | globales Executable | |
pg_recvlogical | cli | globales Executable | |
pg_resetwal | cli | globales Executable | |
pg_restore | cli | globales Executable | |
pg_rewind | cli | globales Executable | |
pg_test_fsync | cli | globales Executable | |
pg_test_timing | cli | globales Executable | |
pg_upgrade | cli | globales Executable | |
pg_verifybackup | cli | globales Executable | |
pg_waldump | cli | globales Executable | |
pg_walsummary | cli | globales Executable | |
pgbench | cli | globales Executable | |
psql | cli | globales Executable | |
reindexdb | cli | globales Executable | |
vacuumdb | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
https://www.postgresql.org/docs/current/libpq.html
Installationsmetadaten
| Paketschlüssel | brew:libpq |
|---|---|
| Version | 18.4 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/libpq |
| Homepage | https://www.postgresql.org/docs/current/libpq.html |
| Repository | https://git.postgresql.org/git/postgresql.git |
| Upstream-Dokumentation | https://www.postgresql.org/docs/current/libpq.html |
| Lizenz | PostgreSQL |
| Quellarchiv | https://ftp.postgresql.org/pub/source/v18.4/postgresql-18.4.tar.bz2 |
| Zuletzt aktualisiert | 2026-06-28T05:00:52Z |
| Pulse | updated |
| Abhängigkeiten | icu4c@78, krb5, openssl@3, readline |
| Build-Abhängigkeiten | docbook, docbook-xsl, pkgconf |
| Von macOS bereitgestellte Bibliotheken | curl |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libpq |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
Source-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
libpq 18.4-r0
PostgreSQL client library
sudo apk add libpqlibpq 18.4-1.fc45
PostgreSQL client library
sudo dnf install libpqlibpq-devel 18.4-1.fc45
Development files for building PostgreSQL client tools
sudo dnf install libpq-develpg-checksums-doc 1.2-2
Activate/deactivate/verify PostgreSQL data checksums (Documentation)
https://github.com/credativ/pg_checksums
sudo apt install pg-checksums-docpostgresql-17-pg-checksums 1.2-2
Activate/deactivate/verify PostgreSQL data checksums
https://github.com/credativ/pg_checksums
sudo apt install postgresql-17-pg-checksumspg_checksums
nix profile install nixpkgs#pg_checksumspg-checksums-doc 1.1-6
Activate/deactivate/verify PostgreSQL data checksums (Documentation)
https://github.com/credativ/pg_checksums
sudo apt install pg-checksums-docpostgresql-16-pg-checksums 1.1-6
Activate/deactivate/verify PostgreSQL data checksums
https://github.com/credativ/pg_checksums
sudo apt install postgresql-16-pg-checksumsQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.