Forum: JRuby How to get jdbc-postgres updated?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
18bacf315805a25fe9dd18037c9306c7?d=identicon&s=25 David Kellum (Guest)
on 2009-05-02 22:51
(Received via mailing list)
The jdbc-postgres gem (jruby-extras) includes:

postgresql-8.2-504.jdbc3.jar

But 8.3-604 is the current recommended/stable  version
(http://jdbc.postgresql.org/download.html).

If you look at the changelog you will see quite a few bug fixes
intervening these versions.

Also, for Java 1.6 they recommend a jdbc4 driver instead of the jdbc3
version currently bundled.

Based on this I'd like to suggest (and can volunteer the changes for):

1. Include both jdbc3 and jdbc4 jars in the jdbc-postgres gem and
selectively require based on running JVM version. Since the jars are
reasonably small (~400k) this doesn't seem too problematic.

2. Include build number as third patch version number in the gem, i,e:

jdbc-postgres-8.3.604

Which would enable staying current with the upstream driver's patch
releases.

Thoughts? Is there a git repo for jdbc-postgres I could fork?

--David
This topic is locked and can not be replied to.