macOS
brew install pgbouncerlocal Homebrew formula metadata
sudo port install pgbouncerMacPorts ports tree · databases/pgbouncer/Portfile · 来源: api.github.com
安装
brew install pgbouncerlocal Homebrew formula metadata
sudo port install pgbouncerMacPorts ports tree · databases/pgbouncer/Portfile · 来源: api.github.com
sudo apk add pgbouncerAlpine Linux edge package indexes · pgbouncer · 来源: dl-cdn.alpinelinux.org
sudo apt install pgbouncerDebian stable package indexes · pgbouncer · 来源: deb.debian.org
sudo dnf install pgbouncerFedora Rawhide package metadata · pgbouncer · 来源: dl.fedoraproject.org
nix profile install nixpkgs#pgbouncernixpkgs package indexes · pkgs/by-name/pg/pgbouncer/package.nix · 来源: api.github.com
sudo pacman -S pgbouncerArch Linux sync databases · pgbouncer · 来源: geo.mirror.pkgbuild.com
概览
Lightweight connection pooler for PostgreSQL
历史
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.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.txt可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
mkauth.py | cli | 全局可执行文件 | |
pgbouncer | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:pgbouncer |
|---|---|
| 版本 | 1.26.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pgbouncer |
| 主页 | https://www.pgbouncer.org/ |
| 仓库 | https://github.com/pgbouncer/pgbouncer |
| 上游文档 | https://www.pgbouncer.org/ |
| 许可证 | ISC |
| 源码归档 | https://www.pgbouncer.org/downloads/files/1.26.1/pgbouncer-1.26.1.tar.gz |
| 最后更新 | 2026-10-14T08:49:17Z |
| Pulse | updated |
| 依赖 | libevent, openssl@4 |
| 构建依赖 | pandoc, pkgconf |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
| 注意事项 | 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. |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 pgbouncer来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.