Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#45090 - [pgbouncer] does not require postgresql as dependency
Attached to Project:
Arch Linux
Opened by Charles (char101) - Tuesday, 26 May 2015, 04:18 GMT
Last edited by Dan McGee (toofishes) - Sunday, 21 February 2016, 03:57 GMT
Opened by Charles (char101) - Tuesday, 26 May 2015, 04:18 GMT
Last edited by Dan McGee (toofishes) - Sunday, 21 February 2016, 03:57 GMT
|
DetailsDescription: Currently since version >1.5.4-5 pgbouncer has postgresql as dependency, but pgbouncer does not need postgresql to run. Pgbouncer is a proxy to postgresql where the postgresql database may reside in another server. It does not even use libpq. I prefer not having to install postgresql (which is rather a large package) just to have pgbouncer run.
Additional info: * >1.5.4-5 Steps to reproduce: ~ # pacman -Qi pgbouncer Name : pgbouncer Version : 1.5.4-5 Description : A lightweight connection pooler for PostgreSQL Architecture : x86_64 URL : http://pgfoundry.org/projects/pgbouncer Licenses : BSD Groups : None Provides : None Depends On : libevent>=2.0 ~ # pacman -Si pgbouncer Repository : extra Name : pgbouncer Version : 1.5.5-1 Description : A lightweight connection pooler for PostgreSQL Architecture : x86_64 URL : https://wiki.postgresql.org/wiki/PgBouncer Licenses : BSD Groups : None Provides : None Depends On : libevent>=2.0 postgresql ~ # pacman -Ql pgbouncer | grep bin pgbouncer /usr/bin/ pgbouncer /usr/bin/pgbouncer ~ # ldd /usr/bin/pgbouncer linux-vdso.so.1 (0x00007ffcb63f0000) libevent-2.0.so.5 => /usr/lib/libevent-2.0.so.5 (0x00007f19ce9c2000) libcrypt.so.1 => /usr/lib/libcrypt.so.1 (0x00007f19ce78b000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f19ce3e8000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f19ce1cb000) /lib64/ld-linux-x86-64.so.2 (0x00007f19cec0b000) |
This task depends upon
Closed by Dan McGee (toofishes)
Sunday, 21 February 2016, 03:57 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.7.1-1.
Sunday, 21 February 2016, 03:57 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 1.7.1-1.
The change that requires postgresql as far as I can see is this line: "gpasswd -a pgbouncer postgres". But since pgbouncer can run in a different host than the postgresql server, I think we cannot assume that there is a postgres user/group in the host that pgbouncer is running. Also I do not see why pgbouncer has to be in the postgres group.