macOS
brew install pgbouncerlocal Homebrew formula metadata
sudo port install pgbouncerMacPorts ports tree · databases/pgbouncer/Portfile · source: api.github.com
brew / rank 3297
Lightweight connection pooler for PostgreSQL. Version 1.26.1 via Homebrew; verified 2026-10-14. Also installable with debian: sudo apt install pgbouncer.
install
brew install pgbouncerlocal Homebrew formula metadata
sudo port install pgbouncerMacPorts ports tree · databases/pgbouncer/Portfile · source: api.github.com
sudo apk add pgbouncerAlpine Linux edge package indexes · pgbouncer · source: dl-cdn.alpinelinux.org
sudo apt install pgbouncerDebian stable package indexes · pgbouncer · source: deb.debian.org
sudo dnf install pgbouncerFedora Rawhide package metadata · pgbouncer · source: dl.fedoraproject.org
nix profile install nixpkgs#pgbouncernixpkgs package indexes · pkgs/by-name/pg/pgbouncer/package.nix · source: api.github.com
sudo pacman -S pgbouncerArch Linux sync databases · pgbouncer · source: geo.mirror.pkgbuild.com
overview
Lightweight connection pooler for PostgreSQL
history
PgBouncer is a lightweight PostgreSQL connection pooler that accepts client connections and reuses a smaller set of server connections through session, transaction, or statement pooling.
Marko Kreen announced PgBouncer 1.0 from Skype on March 13, 2007. The initial release emphasized low overhead, online administration, restart without dropping connections, and statement pooling for PL/Proxy workloads.
The project remained deliberately focused on PostgreSQL connection pooling. Session, transaction, and statement modes became its defining interface, while later releases improved protocol compatibility and reduced limitations in transaction-pooled applications.
PgBouncer became a standard PostgreSQL infrastructure component for applications that open more client connections than a database server should handle directly. Its lightweight process model and broad package-manager availability made it practical to deploy near applications, near PostgreSQL, or on both tiers.
Its continuing development has tracked production PostgreSQL protocol concerns, including authentication, TLS, observability, failover behavior, and support for protocol-level prepared statements in transaction and statement pooling modes.
Operators create a pgbouncer.ini file describing target databases, listeners, authentication, pooling mode, and pool sizes; maintain an authentication file or auth_query; direct applications to PgBouncer's port; and inspect or control pools through its administrative database and SHOW commands.
PgBouncer is the canonical small PostgreSQL connection-pooling package: it changes the scaling characteristics of client connectivity without replacing PostgreSQL or requiring application-specific libraries. Its three pooling modes also expose an important operational trade-off between connection reuse and session semantics.
security posture
formula declares a Homebrew service.
orange risk · medium confidence · infrastructure
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
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.
pgbouncer.iniCredential-bearing paths to review before unattended agent runs.
userlist.txtexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mkauth.py | cli | global executable | |
pgbouncer | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:pgbouncer |
|---|---|
| Version | 1.26.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/pgbouncer |
| Homepage | https://www.pgbouncer.org/ |
| Repository | https://github.com/pgbouncer/pgbouncer |
| Upstream docs | https://www.pgbouncer.org/ |
| License | ISC |
| Source archive | https://www.pgbouncer.org/downloads/files/1.26.1/pgbouncer-1.26.1.tar.gz |
| Last updated | 2026-10-14T08:49:17Z |
| Pulse | updated |
| Dependencies | libevent, openssl@4 |
| Build dependencies | pandoc, pkgconf |
| Bottle | available (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | declared |
| Caveats | The config file: $HOMEBREW_PREFIX/etc/pgbouncer.ini is in the "ini" format and you will need to edit it for your particular setup. See: https://pgbouncer.github.io/config.html The auth_file option should point to the $HOMEBREW_PREFIX/etc/userlist.txt file which can be populated by the $HOMEBREW_CELLAR/pgbouncer/1.26.1/bin/mkauth.py script. |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pgbouncer |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
pgbouncer 1.24.1-1+deb13u2
lightweight connection pooler for PostgreSQL
sudo apt install pgbouncerpgbouncer
nix profile install nixpkgs#pgbouncerpgbouncer 1.22.0-1build4
lightweight connection pooler for PostgreSQL
sudo apt install pgbouncerpgbouncer 1.25.2-r0
Lightweight connection pooler for PostgreSQL
sudo apk add pgbouncerpgbouncer-doc 1.25.2-r0
Lightweight connection pooler for PostgreSQL (documentation)
sudo apk add pgbouncer-docpgbouncer-openrc 1.25.2-r0
Lightweight connection pooler for PostgreSQL (OpenRC init scripts)
sudo apk add pgbouncer-openrcpgbouncer 1.25.2-4.fc46
Lightweight connection pooler for PostgreSQL
sudo dnf install pgbouncerpgbouncer 1.25.2-1
Lightweight connection pooler for PostgreSQL
sudo pacman -S pgbouncerpgbouncer
sudo port install pgbouncersource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.