-
Notifications
You must be signed in to change notification settings - Fork 135
Description
The upstream PgBouncer project supports multiple DNS backends, described in the table here:
https://www.pgbouncer.org/install.html
That page then goes on to say:
c-aresis the most fully-featured implementation and is recommended for most uses and binary packaging (if a sufficiently new version is available). Libevent’s built-inevdnsis also suitable for many uses, with the listed restrictions. The other backends are mostly legacy options at this point and don’t receive much testing anymore.By default,
c-aresis used if it can be found. ...
However, the pgbouncer binaries used by this buildpack currently use evdns instead of c-ares since the library for the latter isn't in the Heroku base image.
The library is small, so we (the languages team) would be open to adding it to the base image to allow this buildpack to switch to the c-ares backend - if that would be of interest to the Data team?
https://packages.ubuntu.com/noble/libc-ares-dev
https://packages.ubuntu.com/noble/libcares2