Automic VaultAutomic Vault

brew

Installer libpq avec Homebrew, apk, dnf, apt, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libpq pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install libpq

local Homebrew formula metadata

Linux

Alpine Linux apkvérifié · 92%
sudo apk add libpq

Alpine Linux edge package indexes · libpq · Source: dl-cdn.alpinelinux.org

Fedora dnfvérifié · 92%
sudo dnf install libpq

Fedora Rawhide package metadata · libpq · Source: dl.fedoraproject.org

Debian aptvérifié · 92%
sudo apt install pg-checksums-doc

Debian stable package indexes · pg-checksums-doc · Source: deb.debian.org

Nixvérifié · 92%
nix profile install nixpkgs#pg_checksums

nixpkgs package indexes · pkgs/by-name/pg/pg_checksums/package.nix · Source: api.github.com

aperçu

Résumé du paquet

Postgres C API library

Commandes et alias

  • clusterdb
  • createdb
  • createuser
  • dropdb
  • dropuser
  • ecpg
  • initdb
  • pg_amcheck
  • pg_archivecleanup
  • pg_basebackup
  • pg_checksums
  • pg_combinebackup
  • pg_config
  • pg_controldata
  • pg_createsubscriber
  • pg_ctl
  • pg_dump
  • pg_dumpall
  • pg_isready
  • pg_receivewal
  • pg_recvlogical
  • pg_resetwal
  • pg_restore
  • pg_rewind
  • pg_test_fsync
  • pg_test_timing
  • pg_upgrade
  • pg_verifybackup
  • pg_waldump
  • pg_walsummary
  • pgbench
  • psql

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 1986: Implementation of the Berkeley POSTGRES project began at the University of California at Berkeley.
  • 1994: Postgres95 added an SQL interpreter and `psql`, replacing POSTQUEL and the older monitor program.
  • 1996: The project adopted the PostgreSQL name and reset version numbering to 6.0.
  • 2023-09-14: PostgreSQL 16 was released, including libpq load-balancing support among its client-side changes.
  • 2024-09-26: PostgreSQL 17 was released with new client and administration utilities including `pg_createsubscriber` and `pg_combinebackup`.

Related projects

  • PostgreSQL server, `psql`, ECPG, PostgreSQL client utilities, language drivers that use libpq, and Homebrew's versioned `libpq@16` and `libpq@17` formulae are the closest related projects.

posture de sécurité

Aucune couverture d'outil protégé trouvée pour le moment

Aucun manifest local de gestion des secrets correspondant n'a été trouvé pour libpq. Les métadonnées de paquet Nucleus restent publiées ici afin que la couverture future dispose d'une URL stable.

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 4 dépendances d’exécution.
  • Les métadonnées de compilation listent 3 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
psqlrc in the directory reported by pg_config --sysconfdir~/.psqlrcpg_service.conf in the directory reported by pg_config --sysconfdir~/.pg_service.conf
Windows
%APPDATA%\postgresql\psqlrc.conf%APPDATA%\postgresql\.pg_service.conf

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.pgpass
Windows
%APPDATA%\postgresql\pgpass.conf

exécutables

Exécutables installés

CommandeTypeExpositionNote
clusterdbcliexécutable global
createdbcliexécutable global
createusercliexécutable global
dropdbcliexécutable global
dropusercliexécutable global
ecpgcliexécutable global
initdbcliexécutable global
pg_amcheckcliexécutable global
pg_archivecleanupcliexécutable global
pg_basebackupcliexécutable global
pg_checksumscliexécutable global
pg_combinebackupcliexécutable global
pg_configcliexécutable global
pg_controldatacliexécutable global
pg_createsubscribercliexécutable global
pg_ctlcliexécutable global
pg_dumpcliexécutable global
pg_dumpallcliexécutable global
pg_isreadycliexécutable global
pg_receivewalcliexécutable global
pg_recvlogicalcliexécutable global
pg_resetwalcliexécutable global
pg_restorecliexécutable global
pg_rewindcliexécutable global
pg_test_fsynccliexécutable global
pg_test_timingcliexécutable global
pg_upgradecliexécutable global
pg_verifybackupcliexécutable global
pg_waldumpcliexécutable global
pg_walsummarycliexécutable global
pgbenchcliexécutable global
psqlcliexécutable global
reindexdbcliexécutable global
vacuumdbcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-10
version du gestionnaire18.4
gestionnaire mis à jour2026-06-28
données localesOK
amontnot checked
dernière version détectéenon détecté

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

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:libpq
Version18.4
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/libpq
Page d'accueilhttps://www.postgresql.org/docs/current/libpq.html
Dépôthttps://git.postgresql.org/git/postgresql.git
Docs amonthttps://www.postgresql.org/docs/current/libpq.html
LicencePostgreSQL
Archive sourcehttps://ftp.postgresql.org/pub/source/v18.4/postgresql-18.4.tar.bz2
Dernière mise à jour2026-06-28T05:00:52Z
Pulseupdated
Dépendancesicu4c@78, krb5, openssl@3, readline
Dépendances de compilationdocbook, docbook-xsl, pkgconf
Bibliothèques fournies par macOScurl
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibpq
Aliases
  • libpq@18
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyyes
URL Keys
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

apk95%

libpq 18.4-r0

PostgreSQL client library

https://www.postgresql.org/

sudo apk add libpq
  • License: PostgreSQL
  • Architecture: x86_64
  • Source Package: postgresql18
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libpq
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libpq from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

libpq 18.4-1.fc45

PostgreSQL client library

http://www.postgresql.org/

sudo dnf install libpq
  • License: PostgreSQL
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libpq
  • 6 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Libpq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libpq from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

libpq-devel 18.4-1.fc45

Development files for building PostgreSQL client tools

http://www.postgresql.org/

sudo dnf install libpq-devel
  • License: PostgreSQL
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libpq
  • 6 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Libpq
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libpq-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
Debian apt92%

pg-checksums-doc 1.2-2

Activate/deactivate/verify PostgreSQL data checksums (Documentation)

https://github.com/credativ/pg_checksums

sudo apt install pg-checksums-doc
  • Section: database
  • Architecture: all
  • Source Package: pg-checksums
  • installed executable or alias match
  • Correspondance par : Pg Checksums
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pg-checksums-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt92%

postgresql-17-pg-checksums 1.2-2

Activate/deactivate/verify PostgreSQL data checksums

https://github.com/credativ/pg_checksums

sudo apt install postgresql-17-pg-checksums
  • Section: database
  • Architecture: amd64
  • Source Package: pg-checksums
  • 2 Dépendances
  • 1 dépendances optionnelles
  • installed executable or alias match
  • Correspondance par : Pg Checksums
Debian stable package indexes · deb.debian.org · Debian stable package indexes: postgresql-17-pg-checksums from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix92%

pg_checksums

nix profile install nixpkgs#pg_checksums
  • installed executable or alias match
  • Correspondance par : Pg Checksums
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pg/pg_checksums/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt92%

pg-checksums-doc 1.1-6

Activate/deactivate/verify PostgreSQL data checksums (Documentation)

https://github.com/credativ/pg_checksums

sudo apt install pg-checksums-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: pg-checksums
  • installed executable or alias match
  • Correspondance par : Pg Checksums
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pg-checksums-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt92%

postgresql-16-pg-checksums 1.1-6

Activate/deactivate/verify PostgreSQL data checksums

https://github.com/credativ/pg_checksums

sudo apt install postgresql-16-pg-checksums
  • Section: universe/database
  • Architecture: amd64
  • Source Package: pg-checksums
  • 2 Dépendances
  • 1 dépendances optionnelles
  • installed executable or alias match
  • Correspondance par : Pg Checksums
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: postgresql-16-pg-checksums from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment