Message-ID: From: "simon-greatrix (@simon-greatrix)" To: "pgjdbc/pgjdbc" Date: Tue, 19 Aug 2025 14:29:10 +0000 Subject: [pgjdbc/pgjdbc] PR #3776: Fix: BaseDataSource.getProperty mirrors BaseDataSource.setProperty. List-Id: X-GitHub-Author-Id: 10000910 X-GitHub-Author-Login: simon-greatrix X-GitHub-Issue: 3776 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-State: open X-GitHub-Type: pull_request X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3776 Content-Type: text/plain; charset=utf-8 The setProperty method of BaseDataSource allows all properties to be set. The getProperty method does not allow the retrieval of: PG_HOST, PG_PORT, PG_DBNAME, USER, and PASSWORD. All properties that can be set should also be readable. Create unit tests to verify that getting and setting properties works as expected. Fixes: https://github.com/pgjdbc/pgjdbc/issues/3761 Sorry - I messed up my git repo. I should never have been merging from main. This re-opens https://github.com/pgjdbc/pgjdbc/pull/3762