pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: pgsql-jdbc@postgresql.org, Dave Cramer <pg@fastcrypt.com>
Subject: Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
Date: Tue, 29 Jan 2013 09:54:10 -0700
Message-ID: <5107FEB2.6040405@ttc-cmc.net> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

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.


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (21+ messages)  latest in thread

Message-ID: <5107FEB2.6040405@ttc-cmc.net>
Permalink:  ../5107FEB2.6040405@ttc-cmc.net/
Also on:    postgresql.org/message-id/5107FEB2.6040405@ttc-cmc.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: danap@ttc-cmc.net, pg@fastcrypt.com
  Subject: Re: Bug report: NullPointerException from Driver.connect when passed a Properties with non-string values
  In-Reply-To: <5107FEB2.6040405@ttc-cmc.net>
  References: <5107FEB2.6040405@ttc-cmc.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox