Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Thu, 20 Mar 2025 14:29:44 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3504: Wrong schemas fetched for a given catalog as input In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 2740656086 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3504 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3504#issuecomment-2740656086 Content-Type: text/plain; charset=utf-8 > expectation is that getCatalogs() should return only the one passed in JDBC URL If you want something "passed to JDBC URL", then you should consider `String java.sql.Connection#getCatalog()` Have you tried it? Does it answer your needs?