Message-ID: From: "Squiry (@Squiry)" To: "pgjdbc/pgjdbc" Date: Mon, 27 Nov 2023 13:17:09 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3012: Support multiple hosts defined with single hostname In-Reply-To: References: List-Id: X-GitHub-Author-Login: Squiry X-GitHub-Comment-Id: 1406144411 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: d425ed9c11bf075106ef47a65e56761b871c1be6 X-GitHub-Issue: 3012 X-GitHub-Line: 45 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/hostchooser/HostChooserFactory.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3012#discussion_r1406144411 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/hostchooser/HostChooserFactory.java:45) Tbh I don't think that this would be the case, more like "db1" that resolves to 18 ip addresses and that's it. Right now implementation doesn't even bother to detect ip addresses if multiple hosts was defined.