Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
От:
dmp <danap@ttc-cmc.net>
Дата:
Dave,
The inclusion of:
if (!url.startsWith("jdbc:postgresql:")) {
return null;
}
in the patch yesterday does not appear to have
been necessary because it looks to be checked
in parseURL().
danap.
Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
От:
Dave Cramer <pg@fastcrypt.com>
Дата:
It's the placement of it that is important. It checks there before it does anything of consequence at all. I left it in parseURL in case there is a path that I wasn't aware of, and it is pretty inconsequential
On Tue, Jan 29, 2013 at 11:54 AM, dmp <danap@ttc-cmc.net> wrote:
Dave,
The inclusion of:
if (!url.startsWith("jdbc:postgresql:")) {
return null;
}
in the patch yesterday does not appear to have
been necessary because it looks to be checked
in parseURL().
danap.