pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dmp <danap@ttc-cmc.net>
To: Chen Huajun <chenhj@cn.fujitsu.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: [BUGS]log can not be output when use DataSource
Date: Mon, 21 Jan 2013 09:45:08 -0700
Message-ID: <50FD7094.9050104@ttc-cmc.net> (raw)
In-Reply-To: <50FD379F.1020304@cn.fujitsu.com>
References: <50F8335B.6070404@ttc-cmc.net>
	<50FA1403.7020301@cn.fujitsu.com>
	<50FAF98A.1030008@ttc-cmc.net>
	<50FBCA78.3040007@cn.fujitsu.com>
	<50FC3529.3060101@ttc-cmc.net>
	<50FCC7EC.7050307@cn.fujitsu.com>
	<50FD1818.8060002@cn.fujitsu.com>
	<CADK3HHJ71-or6kcrg8YytLJc00ZU6M7LRkAdvqhgK1U1d=EsiA@mail.gmail.com>
	<50FD379F.1020304@cn.fujitsu.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Chen,

Could you and possibly while considering the new possible bug you found with
copying DataSource do a more through review of the BaseDataSource class?

Then upon a review submit a complete patch to address not only the logLevel, but 
any other issues you may find. In this way Dave may not have to deal with
this bug in a piecemeal fashion. You could also include with the complete
patch(s) the modification for Driver.NONE = 0 also, since I think you are
correct with this.

The reason I ask this is upon your discovery and my looking at that class
I suspect that some of the other parameters beside logLevel also have similar
problem. Also I think it best to deal with one issue at a time, so deal
with the original bug first, while considering the second then we can deal
with the copy/clone DataSource.

I think the patch you did send in today is the correct approach for logLevel.
Also a DataSource should in being cloned probably copy the current properties, 
but that is only my first thought without review and full understanding.

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 (30+ messages)  latest in thread

Message-ID: <50FD7094.9050104@ttc-cmc.net>
Permalink:  ../50FD7094.9050104@ttc-cmc.net/
Also on:    postgresql.org/message-id/50FD7094.9050104@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, chenhj@cn.fujitsu.com
  Subject: Re: [BUGS]log can not be output when use DataSource
  In-Reply-To: <50FD7094.9050104@ttc-cmc.net>
  References: <50F8335B.6070404@ttc-cmc.net> <50FA1403.7020301@cn.fujitsu.com> <50FAF98A.1030008@ttc-cmc.net> <50FBCA78.3040007@cn.fujitsu.com> <50FC3529.3060101@ttc-cmc.net> <50FCC7EC.7050307@cn.fujitsu.com> <50FD1818.8060002@cn.fujitsu.com> <CADK3HHJ71-or6kcrg8YytLJc00ZU6M7LRkAdvqhgK1U1d=EsiA@mail.gmail.com> <50FD379F.1020304@cn.fujitsu.com> <50FD7094.9050104@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