Thread: Re:Postgresql with JDK

Re:Postgresql with JDK

From
vaibhav zaveri
Date:
Hi, 

Yes that is the link. 
But is JDK 1.8 supported by PostgreSQL?? 

Regards, 
Vaibhav Zaveri 

On 17 Apr 2018 12:12 p.m., "Mail Delivery Subsystem" <mailer-daemon@googlemail.com> wrote:
Error Icon

Address not found

Your message wasn't delivered to pgsl-general@postgresql.org because the address couldn't be found, or is unable to receive mail.
The response was:

550 unknown address


Final-Recipient: rfc822; pgsl-general@postgresql.org
Action: failed
Status: 5.0.0
Remote-MTA: dns; makus.postgresql.org. (2001:4800:1501:1::229, the server for
 the domain postgresql.org.)
Diagnostic-Code: smtp; 550 unknown address
Last-Attempt-Date: Mon, 16 Apr 2018 23:41:11 -0700 (PDT)


---------- Forwarded message ----------
From: vaibhav zaveri <vaibhavzaveri3@gmail.com>
To: pgsl-general@postgresql.org
Cc: 
Bcc: 
Date: Tue, 17 Apr 2018 12:11:09 +0530
Subject: Fwd: RE: Which jdk version is supported by PostgreSQL
Hi, 

Yes this link. But is JDK version 1.8 supported with PostgreSQL?? 

Regards, 
Vaibhav Zaveri 
---------- Forwarded message ----------
From: "Gao Jack" <jackgo73@outlook.com>
Date: 17 Apr 2018 11:58 a.m.
Subject: RE: Which jdk version is supported by PostgreSQL
To: "vaibhav zaveri" <vaibhavzaveri3@gmail.com>, "pgsql-general@postgresql.org" <pgsql-general@postgresql.org>, "pgsql_general@postgresql.org" <pgsql_general@postgresql.org>
Cc:

> -----Original Message-----
> From: vaibhav zaveri <vaibhavzaveri3@gmail.com>
> Sent: Tuesday, April 17, 2018 2:03 PM
> To: pgsql-general@postgresql.org; pgsql_general@postgresql.org
> Subject: Which jdk version is supported by PostgreSQL
>
> Hi,
>
> Which jdk version is supported by PostgreSQL?
>
>
> Regards,
> Vaibhav Zaveri

Hi

Do you mean jdbc?

postgresql supports most versions of jdbc

https://jdbc.postgresql.org/download.html

--

Jack Gao
jackgo73@outlook.com


Attachment

Re: Postgresql with JDK

From
Thomas Kellerer
Date:
vaibhav zaveri schrieb am 17.04.2018 um 08:47:
> Hi, 
> 
> Yes that is the link. 
> But is JDK 1.8 supported by PostgreSQL?? 
> 

Postgres itself does not need or "support" Java. 

Only the JDBC driver needs that which is a client-side technology.
And yes, the JDBC driver does support Java 8, which is clearly stated on the download page:

https://jdbc.postgresql.org/download.html

It supports PostgreSQL 8.2 or newer and requires Java 6 or newer. It contains support for SSL and the javax.sql
package.

    If you are using Java 8 or newer then you should use the JDBC 4.2 version.
    If you are using Java 7 then you should use the JDBC 4.1 version.

Thomas





RE: Re:Postgresql with JDK

From
Gao Jack
Date:
Hi,

yes, supported.

---- > If you are using Java 8 or newer then you should use the JDBC 4.2 version. < ----
If you are using Java 7 then you should use the JDBC 4.1 version.
If you are using Java 6 then you should use the JDBC 4.0 version.
If you are using a Java version older than 6 then you will need to use a JDBC3 version of the driver, which will by
necessitynot be current, found in Other Versions.
 
PostgreSQL JDBC 4.2 Driver, 42.2.2

--
Jack Gao
jackgo73@outlook.com

> -----Original Message-----
> From: vaibhav zaveri <vaibhavzaveri3@gmail.com>
> Sent: Tuesday, April 17, 2018 2:47 PM
> To: pgsql-general@postgresql.org
> Subject: Re:Postgresql with JDK
> 
> Hi,
> 
> Yes that is the link.
> But is JDK 1.8 supported by PostgreSQL??
> 
> Regards,
> Vaibhav Zaveri
> 
> On 17 Apr 2018 12:12 p.m., "Mail Delivery Subsystem" <mailer-
> daemon@googlemail.com <mailto:mailer-daemon@googlemail.com> >
> wrote:
> 
> 
> 
> 
> Address not found
> 
> Your message wasn't delivered to pgsl-general@postgresql.org because the
> address couldn't be found, or is unable to receive mail.
> The response was:
> 
> 
> 550 unknown address
> 
> 
>     Final-Recipient: rfc822; pgsl-general@postgresql.org <mailto:pgsl-
> general@postgresql.org>
>     Action: failed
>     Status: 5.0.0
>     Remote-MTA: dns; makus.postgresql.org
> <http://makus.postgresql.org> . (2001:4800:1501:1::229, the server for
>      the domain postgresql.org <http://postgresql.org> .)
>     Diagnostic-Code: smtp; 550 unknown address
>     Last-Attempt-Date: Mon, 16 Apr 2018 23:41:11 -0700 (PDT)
> 
> 
>     ---------- Forwarded message ----------
>     From: vaibhav zaveri <vaibhavzaveri3@gmail.com
> <mailto:vaibhavzaveri3@gmail.com> >
>     To: pgsl-general@postgresql.org <mailto:pgsl-
> general@postgresql.org>
>     Cc:
>     Bcc:
>     Date: Tue, 17 Apr 2018 12:11:09 +0530
>     Subject: Fwd: RE: Which jdk version is supported by PostgreSQL
> 
>     Hi,
> 
>     Yes this link. But is JDK version 1.8 supported with PostgreSQL??
> 
>     Regards,
>     Vaibhav Zaveri
>     ---------- Forwarded message ----------
>     From: "Gao Jack" <jackgo73@outlook.com
> <mailto:jackgo73@outlook.com> >
>     Date: 17 Apr 2018 11:58 a.m.
>     Subject: RE: Which jdk version is supported by PostgreSQL
>     To: "vaibhav zaveri" <vaibhavzaveri3@gmail.com
> <mailto:vaibhavzaveri3@gmail.com> >, "pgsql-general@postgresql.org
> <mailto:pgsql-general@postgresql.org> " <pgsql-general@postgresql.org
> <mailto:pgsql-general@postgresql.org> >, "pgsql_general@postgresql.org
> <mailto:pgsql_general@postgresql.org> " <pgsql_general@postgresql.org
> <mailto:pgsql_general@postgresql.org> >
>     Cc:
> 
> 
> 
>         > -----Original Message-----
>         > From: vaibhav zaveri <vaibhavzaveri3@gmail.com
> <mailto:vaibhavzaveri3@gmail.com> >
>         > Sent: Tuesday, April 17, 2018 2:03 PM
>         > To: pgsql-general@postgresql.org <mailto:pgsql-
> general@postgresql.org> ; pgsql_general@postgresql.org
> <mailto:pgsql_general@postgresql.org>
>         > Subject: Which jdk version is supported by PostgreSQL
>         >
>         > Hi,
>         >
>         > Which jdk version is supported by PostgreSQL?
>         >
>         >
>         > Regards,
>         > Vaibhav Zaveri
> 
>         Hi
> 
>         Do you mean jdbc?
> 
>         postgresql supports most versions of jdbc
> 
>         https://jdbc.postgresql.org/download.html
> <https://jdbc.postgresql.org/download.html>
> 
>         --
> 
>         Jack Gao
>         jackgo73@outlook.com <mailto:jackgo73@outlook.com>
> 
> 
> 


Re: Postgresql with JDK

From
Adrian Klaver
Date:
On 04/16/2018 11:47 PM, vaibhav zaveri wrote:
> Hi,
> 
> Yes that is the link.
> But is JDK 1.8 supported by PostgreSQL??

I believe it one of those version numbering things, per:

https://en.wikipedia.org/wiki/Java_version_history#Versioning_change

"Versioning change

This version introduced a new versioning system for the Java language, 
although the old versioning system continued to be used for developer 
libraries:

     Both version numbers "1.5.0" and "5.0" are used to identify this 
release of the Java 2 Platform Standard Edition. Version "5.0" is the 
product version, while "1.5.0" is the developer version. The number 
"5.0" is used to better reflect the level of maturity, stability, 
scalability and security of the J2SE.
     — Version 1.5.0 or 5.0?[23]

This correspondence continued through later releases (Java 6 = JDK 1.6, 
Java 7 = JDK 1.7, and so on)."

So what you are seeing here:

https://jdbc.postgresql.org/download.html

is JDK 8 which is actually equal to JDK 1.8.

> 
> Regards,
> Vaibhav Zaveri


-- 
Adrian Klaver
adrian.klaver@aklaver.com