On Thu, 26 Oct 2023 at 03:31, Daniele Varrazzo <daniele.varra...@gmail.com> wrote: > The goal here was only non-blocking name resolution. Ahaini understand we > should do is to split on the hosts for sync connections too, shuffle if > requested, and make separate connection attempts.
If you pack the resolved addresses in same connection string then it should be fine. The different hostaddrs will be shuffled by libpq.