Skip to content

Commit

Permalink
Add PGBOUNCER_APPLICATION_NAME_ADD_HOST
Browse files Browse the repository at this point in the history
Signed-off-by: Bojan Rogalo <bojan.rogalo@gmail.com>
  • Loading branch information
rbojan committed Jun 28, 2024
1 parent 2902dd8 commit 0c8e7cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ pgbouncer_initialize() {
"query_wait_timeout:${PGBOUNCER_QUERY_WAIT_TIMEOUT}"
"client_idle_timeout:${PGBOUNCER_CLIENT_IDLE_TIMEOUT}"
"max_prepared_statements:${PGBOUNCER_MAX_PREPARED_STATEMENTS}"
"application_name_add_host:${PGBOUNCER_APPLICATION_NAME_ADD_HOST}"
)
for pair in "${key_value_pairs[@]}"; do
local key value
Expand Down
1 change: 1 addition & 0 deletions bitnami/pgbouncer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ docker build -t bitnami/APP:latest .
| `PGBOUNCER_SOCKET_GROUP` | PgBouncer socket group | `nil` |
| `PGBOUNCER_DAEMON_USER` | PostgreSQL daemon user | `pgbouncer` |
| `PGBOUNCER_DAEMON_GROUP` | PostgreSQL daemon group | `pgbouncer` |
| `PGBOUNCER_APPLICATION_NAME_ADD_HOST` | PgBouncer add the client host address and port to the application name setting set on connection start | `nil` |

#### Read-only environment variables

Expand Down

0 comments on commit 0c8e7cf

Please sign in to comment.