[bitnami/pgbouncer] Document for PGBOUNCER_DATABASE="*" (#52260)

* [bitnami/pgbouncer] Document for PGBOUNCER_DATABASE="*"

Documented by PgBouncer here: https://www.pgbouncer.org/config.html#:~:text=%E2%80%9C*%E2%80%9D%20acts%20as%20a%20fallback%20database%3A%20If%20the%20exact%20name%20does%20not%20exist%2C%20its%20value%20is%20taken%20as%20connection%20string%20for%20the%20requested%20database.%20For%20example%2C%20if%20there%20is%20an%20entry%20(and%20no%20other%20overriding%20entries)

Signed-off-by: Jan Piotrowski <piotrowski+github@gmail.com>

* Update bitnami/pgbouncer/README.md

Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
Signed-off-by: Jan Piotrowski <piotrowski+github@gmail.com>

---------

Signed-off-by: Jan Piotrowski <piotrowski+github@gmail.com>
Co-authored-by: Miguel Ruiz <miruiz@vmware.com>
This commit is contained in:
Jan Piotrowski 2023-11-10 16:28:51 +01:00 committed by GitHub
parent 80730d0819
commit 87fe138b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ docker run --name pgbouncer \
In case you'd like pgbouncer to expose your database with a different name, you can use the `PGBOUNCER_DATABASE` variable.
To expose the same database name as the backend, set `PGBOUNCER_DATABASE="$POSTGRESQL_DATABASE"`.
To expose a ["fallback database" (wildcard that matches any)](https://www.pgbouncer.org/config.html#section-databases)), set `PGBOUNCER_DATABASE="*"`.
### Other options