pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Martin Handsteiner <martin.handsteiner@sibvisions.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'
Date: Thu, 31 Mar 2011 11:11:14 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1103311056470.25650@leary.csoft.net> (raw)
In-Reply-To: <201103311309.p2VD9E8o097110@wwwmaster.postgresql.org>
References: <201103311309.p2VD9E8o097110@wwwmaster.postgresql.org>



On Thu, 31 Mar 2011, Martin Handsteiner wrote:

>
> The following bug has been logged online:
>
> Bug reference:      5961
> PostgreSQL version: 9.0 Build 801
> Description:        JDBC Driver acceptURL does not check 'jdbc:postgresql:'
> Details:
>
> JDBC Driver acceptURL does not check 'jdbc:postgresql:'

I'm not sure what check you want it to make.  It is a valid JDBC 
connection string.  Testing here shows that it falls back from a v3 to a 
v2 protocol connection when a database name is not provided, but it does 
still seem to work.

> We have to connect to several Databases on the server. Due to the wrong
> implementation of acceptURL in the Postgres jdbc driver, connecting to any
> other database is impossible.
>

I'm not sure what you mean.  If you don't provide a database name, how do 
you expect it to connect to different databases?

Kris Jurka



view thread (4+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1103311056470.25650@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1103311056470.25650@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1103311056470.25650@leary.csoft.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-bugs@postgresql.org
  Cc: books@ejurka.com, martin.handsteiner@sibvisions.com
  Subject: Re: BUG #5961: JDBC Driver acceptURL does not check 'jdbc:postgresql:'
  In-Reply-To: <alpine.BSO.2.00.1103311056470.25650@leary.csoft.net>
  References: <201103311309.p2VD9E8o097110@wwwmaster.postgresql.org> <alpine.BSO.2.00.1103311056470.25650@leary.csoft.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