bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.31k stars 4.79k forks source link

[bitnami/pgbouncer] Add ENV variable for application_name_add_host #68089

Closed rbojan closed 2 months ago

rbojan commented 3 months ago

Name and Version

bitnami/pgbouncer:1.22.1

What is the problem this feature will solve?

It would be helpful if we could add an ENV variable for application_name_add_host:

Add the client host address and port to the application name setting set on connection start. This helps in identifying the source of bad queries etc. This logic applies only at the start of a connection. If application_name is later changed with SET, PgBouncer does not change it again.

Source: https://www.pgbouncer.org/config.html#generic-settings

What is the feature you are proposing to solve the problem?

N/A

What alternatives have you considered?

N/A

javsalgar commented 3 months ago

Hi!

Thank you so much for the feature request! I will forward it to the team but as it is not a critical feature we cannot guarantee an ETA. If you want to speed up the process, you can submit a PR editing libpgbouncer.sh and the team will check it.

rbojan commented 3 months ago

Hi!

Thanks for the fast response. I submitted a PR.

github-actions[bot] commented 2 months ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 2 months ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.