Files
pgcat/src
Jose Fernández 7dfbd993f2 Add dns_cache for server addresses as in pgbouncer (#249)
* Add dns_cache so server addresses are cached and invalidated when DNS changes.

Adds a module to deal with dns_cache feature. It's
main struct is CachedResolver, which is a simple thread safe
hostname <-> Ips cache with the ability to refresh resolutions
every `dns_max_ttl` seconds. This way, a client can check whether its
ip address has changed.

* Allow reloading dns cached

* Add documentation for dns_cached
2023-05-02 10:26:40 +02:00
..
2023-04-10 18:37:16 -07:00
2023-03-28 17:19:37 +02:00
2023-04-30 09:41:46 -07:00
2023-04-30 09:41:46 -07:00
2023-04-10 18:37:16 -07:00
2023-04-30 09:41:46 -07:00
2023-04-10 18:37:16 -07:00
2023-02-14 16:20:11 -06:00
2023-04-10 18:37:16 -07:00
2023-04-30 09:41:46 -07:00