Re: JDBC driver returns different version strings on Ubuntu and CentOS

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To:
Cc: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: Re: JDBC driver returns different version strings on Ubuntu and CentOS
Date: 2018-02-21 17:43:59
Message-ID: 8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Jorge Solórzano schrieb am 21.02.2018 um 18:33:
> On Wed, Feb 21, 2018 at 1:40 AM, Thomas Kellerer <spam_eater(at)gmx(dot)net <mailto:spam_eater(at)gmx(dot)net>> wrote:
>
> ​For CentOS is:
>
> <=BE ParameterStatus(server_version = 10.2)
>
> For Ubuntu is:
>
> <=BE ParameterStatus(server_version = 10.2 (Ubuntu 10.2-1.pgdg16.04+1))
>
> ​
>
> ​Not sure where you get "10.2.2"​.

As I said, that's the return value of DatabaseMetaData.getDatabaseProductVersion()

So apparently there *is* some parsing going on.

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jorge Solórzano 2018-02-21 18:07:50 Re: JDBC driver returns different version strings on Ubuntu and CentOS
Previous Message Jorge Solórzano 2018-02-21 17:33:20 Re: JDBC driver returns different version strings on Ubuntu and CentOS