Re: ConnectionPoolDataSource submittal

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Ned Wolpert <wolpert(at)yahoo(dot)com>
Cc: Barry Lind <barry(at)xythos(dot)com>, psql-jdbc <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: ConnectionPoolDataSource submittal
Date: 2001-12-03 16:35:46
Message-ID: 200112031635.fB3GZk617215@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc


I will save this for 7.3:

http://216.55.132.35/cgi-bin/pgpatches2

---------------------------------------------------------------------------

> Folks-
>
> I finished an implementation of the ConnectionPoolDataSource that is
> functional. I've included in this email the relavant code (tar, gziped):
>
> org/postgresql/PostgresqlConnectionPoolDataSource.java
> org/postgresql/psqlProps.properties
> org/postgresql/util/DefaultProperties.java
> org/postgresql/jdbc2/PostgresqlPooledConnection.java
>
> (What is the normal way to send in new files for the driver? Is attachment
> prefered?) They are also on my website at
> http://members.home.net/wolpert5/code/
> as well. The only additions left to make is
>
> 1) Cleaning thread to close unused connections
> 2) Wrap objects returned by the connection so errors are caught on that
> level too.
> 3) Move all exceptions to throw PSQLException rather than SQLException.
> (So they'll use the errors.properties file instead of being hard
> coded.)
>
> I'll do these if people like the code I've submitted. The code should
> function properly, and is fully commented in the relavent areas. The
> DefaultProperties.java class I submited has also been updated; it nolonger
>
> throws exceptions due to read errors, and does not synchronize access to
> itself. Please comment on my submittial, and if I'm going about my
> updates
> correctly. (And if you have improvements for my code. :-)
>
> Thanks
>
> =====
> Virtually, | "Must you shout too?"
> Ned Wolpert | -Dante
> wolpert(at)yahoo(dot)com |
> _________________/ "Who watches the watchmen?"
> 4e75 -Juvenal, 120 AD
>
> -- Place your commercial here -- fnord
>
> __________________________________________________
> Do You Yahoo!?
> Find a job, post your resume.
> http://careers.yahoo.com
>

Content-Description: codeSubmittal.tgz

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2001-12-03 16:44:35 Re: Compiling source
Previous Message Barry Lind 2001-12-03 16:32:59 Re: JAR-file including classes for J2EE