Message-ID: From: "simon-greatrix (@simon-greatrix)" To: "pgjdbc/pgjdbc" Date: Mon, 18 Aug 2025 11:26:09 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3761: BaseDataSource getProperty does not get all properties. In-Reply-To: References: List-Id: X-GitHub-Author-Login: simon-greatrix X-GitHub-Comment-Id: 3196256006 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3761 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3761#issuecomment-3196256006 Content-Type: text/plain; charset=utf-8 In writing a unit test I have discovered a related issue: ``` PGSimpleDataSource dataSource = new PGSimpleDataSource(); dataSource.setLoadBalanceHosts(false); assertFalse( dataSource.getLoadBalanceHosts() ); ``` The `getLoadBalanceHosts()` method returns true if any value is set, even if the value is `false`. Should we create a new issue for this or expand the scope of this one to cover it?