Re: [PATCH] libpq: try all addresses for a host before moving to next on target_session_attrs mismatch

Greg Sabino Mullane <htamfids@gmail.com>

From: Greg Sabino Mullane <htamfids@gmail.com>
To: Evgeny Kuzin <evgeny.kuzin@outlook.com>
Cc: Andrey Borodin <x4mmm@yandex-team.ru>, Tom Lane <tgl@sss.pgh.pa.us>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2026-03-09T13:46:45Z
Lists: pgsql-hackers
On Thu, Mar 5, 2026 at 10:31 AM Evgeny Kuzin <evgeny.kuzin@outlook.com>
wrote:

> This suggests the simpler fix might actually be correcting a deviation
> from documented behavior, rather than introducing new behavior requiring a
> new parameter (as in 5396).
>
+1, I think the docs have the right idea here which is "try until we get
exactly what we want"

Cheers,
Greg

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. libpq: Add target_session_attrs parameter.