Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Sun, 16 Feb 2025 12:36:20 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3012: Support multiple hosts defined with single hostname In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2661412885 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3012 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3012#issuecomment-2661412885 Content-Type: text/plain; charset=utf-8 What did you consider a bug? I read the link and couldn’t figure out the bug part Dave Cramer On Sat, Feb 15, 2025 at 12:08 PM Andrey Borodin ***@***.***> wrote: > ***@***.**** commented on this pull request. > ------------------------------ > > In pgjdbc/src/main/java/org/postgresql/hostchooser/HostChooserFactory.java > : > > > + resultHosts[i] = new HostSpec(inetAddress.getHostAddress(), host.getPort(), > + host.getLocalSocketAddress()); > > So, did you choose anything? Right now I'm reviewing patch about it into > libpq, and current libpq behavior looks to me like a bug :) > > https://www.postgresql.org/message-id/flat/CAKK5BkESSc69sp2TiTWHvvOHCUey0rDWXSrR9pinyRqyfamUYg%40mail.gmail.com > > — > Reply to this email directly, view it on GitHub > , or > unsubscribe > > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >