On Thu, 8 May 2025 at 18:58, Daniele Varrazzo
<daniele.varrazzo@gmail.com> wrote:
> I have prepared a patch, which is attached, to fix the issue. However
> the patch returns the default port in case of no info in
> 'conn->connhost'.
Ah, of course this is wrong if the PGPORT env var is set and I assume
thanks to the pg_service...
If I understand better what to return and the strategy to return it I
can try and provide a better patch.
Cheers
-- Daniele