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

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: Evgeny Kuzin <evgeny(dot)kuzin(at)outlook(dot)com>
Cc: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] libpq: try all addresses for a host before moving to next on target_session_attrs mismatch
Date: 2026-03-09 13:46:45
Message-ID: CAKAnmmK4u8nebjq7ygpFOL-FJGrdJihrTF36V-=U1TnBD-WfdQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 5, 2026 at 10:31 AM Evgeny Kuzin <evgeny(dot)kuzin(at)outlook(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2026-03-09 14:01:53 Re: tid_blockno() and tid_offset() accessor functions
Previous Message Nazir Bilal Yavuz 2026-03-09 13:43:00 Re: Speed up COPY FROM text/CSV parsing using SIMD