pkg.soopen package index

brew / 排名 3297

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 pgbouncer

查看 pgbouncer 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install pgbouncer

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install pgbouncer

MacPorts ports tree · databases/pgbouncer/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add pgbouncer

Alpine Linux edge package indexes · pgbouncer · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install pgbouncer

Debian stable package indexes · pgbouncer · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install pgbouncer

Fedora Rawhide package metadata · pgbouncer · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#pgbouncer

nixpkgs package indexes · pkgs/by-name/pg/pgbouncer/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S pgbouncer

Arch Linux sync databases · pgbouncer · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Lightweight connection pooler for PostgreSQL

命令和别名

  • mkauth.py
  • pgbouncer

历史

项目历史与用法

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.

时间线

  • 2007: Skype announced PgBouncer 1.0.
  • 2007: The 1.1 series followed with continued operational refinements.
  • 2023: Version 1.21 added protocol-level prepared-statement tracking for transaction and statement pooling.

Related projects

  • PgBouncer sits between PostgreSQL clients and PostgreSQL servers while speaking the PostgreSQL wire protocol on both sides. Standard clients such as psql can connect through it, and pgBadger can analyze its statistics logs.

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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
pgbouncer.ini

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
userlist.txt

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mkauth.pycli全局可执行文件
pgbouncercli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本1.26.1
管理器更新时间2026-10-14
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.pgbouncer.org/

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namepgbouncer
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

pgbouncer 1.24.1-1+deb13u2

lightweight connection pooler for PostgreSQL

https://www.pgbouncer.org/

sudo apt install pgbouncer
  • Section: database
  • Architecture: amd64
  • 7 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Pgbouncer
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pgbouncer from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pgbouncer

nix profile install nixpkgs#pgbouncer
  • normalized package name match
  • 匹配方式:Pgbouncer
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pg/pgbouncer/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

pgbouncer 1.22.0-1build4

lightweight connection pooler for PostgreSQL

https://www.pgbouncer.org/

sudo apt install pgbouncer
  • Section: universe/misc
  • Architecture: amd64
  • 7 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Pgbouncer
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pgbouncer from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

pgbouncer 1.25.2-r0

Lightweight connection pooler for PostgreSQL

https://www.pgbouncer.org/

sudo apk add pgbouncer
  • License: ISC
  • Architecture: x86_64
  • Source Package: pgbouncer
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Pgbouncer
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pgbouncer from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

pgbouncer-doc 1.25.2-r0

Lightweight connection pooler for PostgreSQL (documentation)

https://www.pgbouncer.org/

sudo apk add pgbouncer-doc
  • License: ISC
  • Architecture: x86_64
  • Source Package: pgbouncer
  • normalized package name match
  • 匹配方式:Pgbouncer
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pgbouncer-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

pgbouncer-openrc 1.25.2-r0

Lightweight connection pooler for PostgreSQL (OpenRC init scripts)

https://www.pgbouncer.org/

sudo apk add pgbouncer-openrc
  • License: ISC
  • Architecture: x86_64
  • Source Package: pgbouncer
  • normalized package name match
  • 匹配方式:Pgbouncer
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: pgbouncer-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

pgbouncer 1.25.2-4.fc46

Lightweight connection pooler for PostgreSQL

https://www.pgbouncer.org

sudo dnf install pgbouncer
  • License: ISC and BSD-2-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: pgbouncer
  • 16 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Pgbouncer
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pgbouncer from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

pgbouncer 1.25.2-1

Lightweight connection pooler for PostgreSQL

https://www.pgbouncer.org/

sudo pacman -S pgbouncer
  • License: ISC
  • Architecture: x86_64
  • 8 依赖
  • normalized package name match
  • 匹配方式:Pgbouncer
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pgbouncer from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

pgbouncer

sudo port install pgbouncer
  • normalized package name match
  • 匹配方式:Pgbouncer
MacPorts ports tree · api.github.com · MacPorts ports tree: databases/pgbouncer/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • 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
  • pkg.so package database
  • pkgdb category and tag curation