pgbouncer - lightweight connection pooler for PostgreSQL

Property Value
Distribution Debian 7 (Wheezy)
Repository Debian Main amd64
Package name pgbouncer
Package version 1.5.2
Package release 4+deb7u1
Package architecture amd64
Package type deb
Installed size 408 B
Download size 145.32 KB
Official Mirror
PgBouncer is a lightweight connection pooler for PostgreSQL providing the
following features:
* Several levels of brutality when rotating connections: session pooling,
transaction pooling, statement pooling.
* Low memory requirements.
* It is not tied to one backend server, the destination databases
can reside on different hosts.
* Supports online reconfiguration for most of the settings.
* Supports online restart/upgrade.


Package Version Architecture Repository
pgbouncer_1.5.2-4+deb7u1_i386.deb 1.5.2 i386 Debian Main
pgbouncer - - -


Name Value
libc6 >= 2.7
libevent-2.0-5 >= 2.0.10-stable
lsb-base >= 3.1
postgresql-common >= 26


Type URL
Binary Package pgbouncer_1.5.2-4+deb7u1_amd64.deb
Source Package pgbouncer

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install pgbouncer deb package:
    # sudo apt-get install pgbouncer




2015-05-23 - Christoph Berg <>
pgbouncer (1.5.2-4+deb7u1) wheezy; urgency=medium
* Fix remote crash - invalid packet order causes lookup of NULL pointer.
Not exploitable, just DoS. (CVE-2015-4054)
Cherry-picked from upstream 1.5.5.
2012-11-02 - Christoph Berg <>
pgbouncer (1.5.2-4) unstable; urgency=medium
* Cherry-pick from 1.5.3:  Closes: #692103.;a=commitdiff;h=4b92112b820830b30cd7bc91bef3dd8f35305525
Thanks to Markus Wanner for helping fix this.
= Critical fix =
* Too long database names can lead to crash, which
is remotely triggerable if autodbs are enabled.
The original checks assumed all names come from config files,
thus using fatal() was fine, but when autodbs are enabled
- by '*' in [databases] section - the database name can come
from network thus making remote shutdown possible.
2012-10-07 - Christoph Berg <>
pgbouncer (1.5.2-3) unstable; urgency=low
* Re-add check for START=0 in the init script.  Spotted by Sergey Burladyan.
Closes: #687577.
* Repository moved to git.
2012-07-26 - Christoph Berg <>
pgbouncer (1.5.2-2) unstable; urgency=low
* Init script: Use --oknodo.  Closes: #681978.
Create /var/run/postgresql when missing.  Closes: #681372.
2012-06-11 - Christoph Berg <>
pgbouncer (1.5.2-1) unstable; urgency=low
* New upstream release.
2012-04-30 - Christoph Berg <>
pgbouncer (1.5.1-1) unstable; urgency=low
[ Peter Eisentraut ]
* Remove duplicate userlist.txt from doc directory
[ Christoph Berg ]
* Replace lsb init functions with plain echo. Spotted by Alexey Potehin.
* Refresh debian-changes patch, most of our changes went upstream.
2012-01-27 - Christoph Berg <>
pgbouncer (1.5-1) unstable; urgency=low
[ Peter Eisentraut ]
* Update watch file to allow .tar.gz in addition to .tgz
* Remove obsolete README.source and repack support in watch file
[ Christoph Berg ]
* New upstream release.
* Use start-stop-daemon for stopping the daemon.  Closes: #641568.
* Use pgbouncer -R to restart in place, thanks Cody Cutrer for the patch.
Closes: #657204.
* Update URL in README.Debian.  Closes: #655283.
2011-09-08 - Christoph Berg <>
pgbouncer (1.4.2-2) unstable; urgency=low
* Honor START=0 for the restart action.  Patch by Chris Lamb, thanks!
Closes: #640796.
2011-06-17 - Christoph Berg <>
pgbouncer (1.4.2-1) unstable; urgency=low
* New upstream release.
2011-04-12 - Christoph Berg <>
pgbouncer (1.4.1-1) unstable; urgency=low
* New upstream release.
* Remove the endian patch, implemented upstream.
* Use source format 3.0 (quilt) because the upstream tarball has its own
debian/ dir. Ignore lib/usual/config.h in source/options.

See Also

Package Description
pgdbf_0.5.5-1_amd64.deb converter of XBase / FoxPro tables to PostgreSQL
pgf_2.10-1_all.deb TeX Portable Graphic Format
pgfouine_1.2-3_all.deb PostgreSQL log analyzer
pgloader_2.3.3~dev3-1.1_all.deb loads flat data files into PostgreSQL
pgn-extract_16.7-2_amd64.deb Portable Game Notation (PGN) extractor
pgn2web_0.4-1_amd64.deb convert PGN chess game files into webpages
pgpdump_0.27-1_amd64.deb PGP packet visualizer
pgpgpg_0.13-9_amd64.deb Wrapper for using GnuPG in programs designed for PGP
pgpool2_3.1.3-5_amd64.deb connection pool server and replication proxy for PostgreSQL
pgsnap_0.7.0-1_all.deb PostgreSQL report tool
pgstaging-client_0.11-1_all.deb client script for pgstaging
pgstaging_0.11-1_all.deb setup and maintain your staging environments from your production backups
pgtap_0.90.0-1_all.deb Unit testing framework for PostgreSQL
pgtune_0.9.3-2_all.deb PostgreSQL config tuner
pgxnclient_1.0.3-1_all.deb command line client for the PostgreSQL Extension Network