pgbouncer

PgBouncer

Channel Revision Published Runs on
latest/stable 5 17 Jan 2022
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
1/stable 397 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
1/stable 396 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
1/stable 395 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
1/stable 394 11 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
1/candidate 558 12 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/candidate 557 12 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/candidate 556 12 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/candidate 555 12 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/beta 558 05 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/beta 557 05 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/beta 556 05 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/beta 555 05 Dec 2024
Ubuntu 22.04 Ubuntu 20.04
1/edge 630 Yesterday
Ubuntu 22.04 Ubuntu 20.04
1/edge 629 Yesterday
Ubuntu 22.04 Ubuntu 20.04
1/edge 628 Yesterday
Ubuntu 22.04 Ubuntu 20.04
1/edge 627 Yesterday
Ubuntu 22.04 Ubuntu 20.04
juju deploy pgbouncer --channel 1/stable
Show information

Platform:

Ubuntu
22.04 20.04 18.04 16.04

How to manage related applications

Modern postgresql_client interface:

Relations to new applications are supported via the “postgresql_client” interface. To create a relation:

juju integrate pgbouncer application

To remove a relation:

juju remove-relation pgbouncer application

All listed on CharmHub applications are available here, e.g. postgresql-test-app.

Legacy pgsql interface:

This charm also supports the legacy relation via the pgsql interface. Please note that these interface is deprecated.

juju relate pgbouncer:db myapplication

Also extended permissions can be requested using db-admin endpoint:

juju relate pgbouncer:db-admin myapplication

Internal operator user

To rotate the internal router passwords, the relation with backend-database should be removed and related again. That process will generate a new user and password for the application, while retaining the requested database and data.

juju remove-relation postgresql pgbouncer

juju integrate postgresql pgbouncer

Help improve this document in the forum (guidelines). Last updated 1 year, 3 months ago.