pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Rotteveel <mark@lawinegevaar.nl>
To: List <pgsql-jdbc@postgresql.org>
Subject: Re: Maven Artifact JDK Suffix
Date: Mon, 11 Jan 2016 09:52:46 +0100
Message-ID: <a532668452918a90045ea9e0bc65721d@imap.procolix.com> (raw)
In-Reply-To: <CAH7T-aoBbaEm5UTF_4iipK7QKkidqObOgwoNnr-SGPKaivvzqg@mail.gmail.com>
References: <CAH7T-aoBbaEm5UTF_4iipK7QKkidqObOgwoNnr-SGPKaivvzqg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

On Sun, 10 Jan 2016 19:02:59 -0500, Sehrope Sarkuni <sehrope@jackdb.com>
wrote:
> Why doesn't the JDK 8 version of the Maven artifact for the driver
include
> the .jre8 suffix?
> 
> Here's what's currently on the main README:
> 
>   <dependency>
>     <groupId>org.postgresql</groupId>
>     <artifactId>postgresql</artifactId>
>     <version>9.4.1207</version> <!-- Java 8 -->
>     <version>9.4.1207.jre7</version> <!-- Java 7 -->
>     <version>9.4.1207.jre6</version> <!-- Java 6 -->
>   </dependency>
> 
> 
> The other versions are JDK version suffixed and at some point there will
be
> a JDK 9. Why not name it X.jre8 so that we're ready for when that day
> comes?

I agree. Having one unsuffixed is confusing.

> Somewhat related, is it possible for more than one JDBC release to come
out
> for the same JDK version or will that not happen anymore?

That is not possible with the current way of working. The JDBC API is part
of the Java SE API and can only change together with a new Java SE version;
changing that would likely break a lot of things ;)

> If so, we'd be better off naming the releases off the JDBC version (ex:
> 9.4.127.jdbc42). Each JDBC version already has a min supported JDK
version
> associated with it (ex: JDBC 4.2 requires JDK 8+) so it's super set of
> tracking JDK versions. Then again, if the days of JDBC updates out of
band
> from JDK updates are gone, it's just extra noise/confusion (vs. tracking
> against the JDK version).

As far as I know JDBC has never been updated out of band (maybe with the
exception of the JDBC 2 Extensions, although I believe that was also part
of Java 1.3).


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

Message-ID: <a532668452918a90045ea9e0bc65721d@imap.procolix.com>
Permalink:  ../a532668452918a90045ea9e0bc65721d@imap.procolix.com/
Also on:    postgresql.org/message-id/a532668452918a90045ea9e0bc65721d@imap.procolix.com

 · 

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: mark@lawinegevaar.nl
  Subject: Re: Maven Artifact JDK Suffix
  In-Reply-To: <a532668452918a90045ea9e0bc65721d@imap.procolix.com>
  References: <CAH7T-aoBbaEm5UTF_4iipK7QKkidqObOgwoNnr-SGPKaivvzqg@mail.gmail.com> <a532668452918a90045ea9e0bc65721d@imap.procolix.com>

* 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