pgjdbc/pgjdbc GitHub issues and pull requests (mirror)
help / color / mirror / Atom feedFrom: simon-greatrix (@simon-greatrix) <[email protected]>
To: pgjdbc/pgjdbc <[email protected]>
Subject: [pgjdbc/pgjdbc] PR #3776: Fix: BaseDataSource.getProperty mirrors BaseDataSource.setProperty.
Date: Tue, 19 Aug 2025 14:29:10 +0000
Message-ID: <[email protected]> (raw)
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
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: github://pgjdbc/pgjdbc
Cc: [email protected], [email protected]
Subject: Re: [pgjdbc/pgjdbc] PR #3776: Fix: BaseDataSource.getProperty mirrors BaseDataSource.setProperty.
In-Reply-To: <<[email protected]>>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox