Re: [PATCH] libpq: try all addresses for a host before moving to next on target_session_attrs mismatch - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: [PATCH] libpq: try all addresses for a host before moving to next on target_session_attrs mismatch
Date
Msg-id CAKAnmmK4u8nebjq7ygpFOL-FJGrdJihrTF36V-=U1TnBD-WfdQ@mail.gmail.com
Whole thread
In response to Re: [PATCH] libpq: try all addresses for a host before moving to next on target_session_attrs mismatch  (Evgeny Kuzin <evgeny.kuzin@outlook.com>)
List 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

pgsql-hackers by date:

Previous
From: Nazir Bilal Yavuz
Date:
Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD
Next
From: Andres Freund
Date:
Subject: Re: tid_blockno() and tid_offset() accessor functions