Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvQuF-0004ZQ-2Y for pgsql-jdbc@arkaria.postgresql.org; Tue, 04 Apr 2017 16:02:07 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cvQuE-0005k8-F5 for pgsql-jdbc@arkaria.postgresql.org; Tue, 04 Apr 2017 16:02:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cvQth-0004Dm-Nb for pgsql-jdbc@postgresql.org; Tue, 04 Apr 2017 16:01:34 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cvQtd-0003zu-R4 for pgsql-jdbc@postgresql.org; Tue, 04 Apr 2017 16:01:32 +0000 Received: by mail-wm0-x22b.google.com with SMTP id t189so32193315wmt.1 for ; Tue, 04 Apr 2017 09:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=8kdata-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to; bh=vUG8k413NzjtqlGAT9Wf1dqXZCj43/M5SZhNkvC+P0o=; b=yzHlFOInAIvshQS9P/kLzAbbMzvvI2Do+P9JV5zA2FOsn+RtFsftG51t2t1ElGqaEI sG8Dhz9PXfWAbiz4ms0qYYZfrR7Y7gFJflnY97ywXbLIGmbrO9Zurylk6TZ0v9VVxyZr oGYSz+dEfMV4HVZcIQQSJm01+N6pqKQh3IE75J7XqlZ+jYtDgBzTsVdip8rAuEsIoUEY g9KuwW2iQoXyZx6VDE6+3Tymuu2KmfOH5mLtocUhZP3dcq3EYSemZpXMvyVX8dwA4j1E QFcVeuATUKaol/EAOsWKs86/uiZK1whEMxUVRSrArl+iP4B2x57Q/admuVETMOjVIoyf YOag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to; bh=vUG8k413NzjtqlGAT9Wf1dqXZCj43/M5SZhNkvC+P0o=; b=MjQfxaVpQll5uKAgG8L+f/3bOX24erINccLt9LFn9rZUAIVCCf2ZINdSUjVJD/rkT9 LErKGAJD893EWGEpU2xqYjSYNw82k+BU++OhmgnvKGhLxBhJZKcuPQJce5veKm8UTZZB E955U/YTT1cYNKGKk+N5xwxXhMM/QwvNXwBreMK4VhpWAMW+kABkKLFUxuEq1tx1eazc POHOqiSuIRcD+tt8vDtpBtkKP1dPTlxmDdSKSTb00oCrUhhHrQLir/XcAf2INm5eRQJg W0XFoo5xuAOmFPmmMAV/QwSAgSKGeV8oW/N0As6DXvpdMJ4CNufH8DmNFT+iNakuPVfs GYpg== X-Gm-Message-State: AFeK/H1fdz7EPkRCjdz4/hZtaHZ5A7yu/tILiaou50Xtk9HwFMFFRsFE xBA0t9AGokBSkA== X-Received: by 10.28.102.87 with SMTP id a84mr14882174wmc.92.1491321688134; Tue, 04 Apr 2017 09:01:28 -0700 (PDT) Received: from [10.0.10.100] (111.red-88-3-36.dynamicip.rima-tde.net. [88.3.36.111]) by smtp.gmail.com with ESMTPSA id 24sm22833449wrw.46.2017.04.04.09.01.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Apr 2017 09:01:27 -0700 (PDT) Subject: Re: RFC: Make new versions of pgjdbc Java8+ To: Dave Cramer References: <393118b3-4373-3e27-6f7e-0a7f764c9c81@8kdata.com> <9289bc74-5c08-c180-3a7a-943c79230824@8kdata.com> <41ED3F5450C90F4D8381BC4D8DF6BBDCAF6CA67F@EXCHANGESERVER.ikoffice.de> <5989a0cc-8318-28a7-9389-b284f42f671c@8kdata.com> <20170403185844.GO9812@tamriel.snowman.net> <0fccb64d158572ceefd8f8da0990947a@edno.moe> <94d07248-4b21-13ec-be1f-84696c602fa5@8kdata.com> <6db058c99231e6b361a026bdab1382f3@edno.moe> <030cf216-1a0c-d372-6bb6-28b85b269694@8kdata.com> Cc: Radoslav Petrov , Stephen Frost , Daniel Migowski , John R Pierce , List , pgsql-jdbc-owner@postgresql.org From: =?UTF-8?Q?=c3=81lvaro_Hern=c3=a1ndez_Tortosa?= Message-ID: <69ae857b-15cc-36dd-f380-6620ef1effb9@8kdata.com> Date: Tue, 4 Apr 2017 18:01:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------624D51E612855BD862EE6479" X-Pg-Spam-Score: -1.6 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. --------------624D51E612855BD862EE6479 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 04/04/17 17:58, Dave Cramer wrote: > > On 4 April 2017 at 11:11, Álvaro Hernández Tortosa > wrote: > > > > On 03/04/17 22:53, rado@edno.moe wrote: > > On 2017-04-03 23:02, Dave Cramer wrote: > > On 3 April 2017 at 16:01, Álvaro Hernández Tortosa > > > wrote: > > On 03/04/17 21:15, rado@edno.moe wrote: > Hi everyone. > On 2017-04-03 21:58, Stephen Frost wrote: > Dave, > > * Dave Cramer (pg@fastcrypt.com > ) wrote: > On 3 April 2017 at 14:33, Álvaro Hernández Tortosa > > wrote: > Quick eyeball of the latest two versions shows > significant download > of > jre6, and a scary data of 1208 jre7. I wonder what > project is using > that? > > Chef. > > All but ~4000 of those hits were by either "Chef > Client" or "Chef > Knife", most of which were, unsurprisingly, just 304's > ("not > modified"). > > > From 100 000 downloads? > This link shows which other POMs are referring to > 9.4.1208.jre7: > http://mvnrepository.com/artifact/org.postgresql/postgresql/9.4.1208.jre7/usages > > > [1] > Keep in mind that I don't know how reliable is this data, > but Clojure > and Spring Boot are quite popular projects. > > This doesn't seem to happen with current version 42: > > http://mvnrepository.com/artifact/org.postgresql/postgresql/42.0.0.jre7/usages > > > [2] (not used so far) > > > The big projects that embed jdbc drivers are not so many and > probably they are not releasing new versions only because of > the dependencies updates. And the 42.0.0 release is quite new. > > As a side note: Hibernate 5.2 is officially Java8 only: > https://github.com/hibernate/hibernate-orm/wiki/Migration-Guide---5.2#move-to-java-8-for-baseline > > And they soon will drop support for 5.1 > (http://in.relation.to/2017/03/14/hibernate-orm-515-final-release/ > ) > when 5.3 is released. They've changed their policy last year > and now you get bug fixes only for the current and the > previous release. > The upcoming version of Spring platform is also Java8: > https://github.com/spring-projects/spring-framework/wiki/What%27s-New-in-the-Spring-Framework#whats-new-in-spring-framework-5x > > Spring 4.x is Java6, but Spring Boot requires Java7 and > recommends Java8: > http://docs.spring.io/spring-boot/docs/1.5.2.RELEASE/reference/htmlsingle/#getting-started-system-requirements > > > IMO these two will drive some migration effort to Java8. > > > Agreed. Very interesting. I think we should also "recommend" > our users to move forward. I don't see someone willing to upgrade > to PostgreSQL 10 but not willing to update the JRE (it's either > both or none, and if it is none, they are well served with > existing drivers). > > So what do we do? I can still develop SCRAM for either version > of Java (and while I have already expressed my preference, I will > do it even for Java6, if that's the decision) :) I'm not a > committer, so committers: please let me know what would be the > "official" final decision. Thanks, > > > > Keep going with java 8 for now. Given that the use of MD5 the way we > actually use it is not really an issue, I'm less worried about this > than I originally thought. I do have some feelers out in the > enterprise though to get some feed back Great, I will do that. If, then, at some point we get strong feedback, I'd volunteer to help backport the code to Java6/7. Cheers, Álvaro -- Álvaro Hernández Tortosa ----------- <8K>data --------------624D51E612855BD862EE6479 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

On 04/04/17 17:58, Dave Cramer wrote:

On 4 April 2017 at 11:11, Álvaro Hernández Tortosa <aht@8kdata.com> wrote:


On 03/04/17 22:53, rado@edno.moe wrote:
On 2017-04-03 23:02, Dave Cramer wrote:
On 3 April 2017 at 16:01, Álvaro Hernández Tortosa <aht@8kdata.com>
wrote:

On 03/04/17 21:15, rado@edno.moe wrote:
Hi everyone.
On 2017-04-03 21:58, Stephen Frost wrote:
Dave,

* Dave Cramer (pg@fastcrypt.com) wrote:
On 3 April 2017 at 14:33, Álvaro Hernández Tortosa
<aht@8kdata.com> wrote:
Quick eyeball of the latest two versions shows significant download
of
jre6, and a scary data of 1208 jre7. I wonder what project is using
that?

Chef.

All but ~4000 of those hits were by either "Chef Client" or "Chef
Knife", most of which were, unsurprisingly, just 304's ("not
modified").

From 100 000 downloads?
This link shows which other POMs are referring to 9.4.1208.jre7:
http://mvnrepository.com/artifact/org.postgresql/postgresql/9.4.1208.jre7/usages
[1]
Keep in mind that I don't know how reliable is this data, but Clojure
and Spring Boot are quite popular projects.

     This doesn't seem to happen with current version 42:

http://mvnrepository.com/artifact/org.postgresql/postgresql/42.0.0.jre7/usages
[2] (not used so far)

The big projects that embed jdbc drivers are not so many and probably they are not releasing new versions only because of the dependencies updates. And the 42.0.0 release is quite new.

As a side note: Hibernate 5.2 is officially Java8 only: https://github.com/hibernate/hibernate-orm/wiki/Migration-Guide---5.2#move-to-java-8-for-baseline
And they soon will drop support for 5.1 (http://in.relation.to/2017/03/14/hibernate-orm-515-final-release/) when 5.3 is released. They've changed their policy last year and now you get bug fixes only for the current and the previous release.
The upcoming version of Spring platform is also Java8: https://github.com/spring-projects/spring-framework/wiki/What%27s-New-in-the-Spring-Framework#whats-new-in-spring-framework-5x
Spring 4.x is Java6, but Spring Boot requires Java7 and recommends Java8: http://docs.spring.io/spring-boot/docs/1.5.2.RELEASE/reference/htmlsingle/#getting-started-system-requirements

IMO these two will drive some migration effort to Java8.

    Agreed. Very interesting. I think we should also "recommend" our users to move forward. I don't see someone willing to upgrade to PostgreSQL 10 but not willing to update the JRE (it's either both or none, and if it is none, they are well served with existing drivers).

    So what do we do? I can still develop SCRAM for either version of Java (and while I have already expressed my preference, I will do it even for Java6, if that's the decision) :) I'm not a committer, so committers: please let me know what would be the "official" final decision. Thanks,



Keep going with java 8 for now. Given that the use of MD5 the way we actually use it is not really an issue, I'm less worried about this than I originally thought. I do have some feelers out in the enterprise though to get some feed back

    Great, I will do that.

    If, then, at some point we get strong feedback, I'd volunteer to help backport the code to Java6/7.


    Cheers,

    Álvaro


-- 

Álvaro Hernández Tortosa


-----------
<8K>data
--------------624D51E612855BD862EE6479--