Message-ID: From: "robert-mirzakhanian (@robert-mirzakhanian)" To: "pgjdbc/pgjdbc" Date: Tue, 04 Feb 2025 13:14:20 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3506: feat: Add access for global host status tracker In-Reply-To: References: List-Id: X-GitHub-Author-Login: robert-mirzakhanian X-GitHub-Comment-Id: 2633869681 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3506 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3506#issuecomment-2633869681 Content-Type: text/plain; charset=utf-8 > Yes, generally through some kind of topology function in the database. For instance Aurora has [`aurora_replica_status()`](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora_replica_status.html) I'm not a huge fan of the driver reaching out to another port, or API > > I would entertain the pluggable idea in #3409 @davecramer, @vlsi, I apologize if my explanation in English is unclear. My goal is not to retrieve topology from the driver, but to determine which host the driver is currently connected to. The only place I could find relevant information is in GlobalHostStatusTracker.