pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
Cc: pgsql-jdbc@lists.postgresql.org
Subject: Re: JDBC driver returns different version strings on Ubuntu and CentOS
Date: Wed, 21 Feb 2018 18:43:59 +0100
Message-ID: <8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net> (raw)
In-Reply-To: <CA+cVU8Pagvu=7JrF1xLTJbDm+J6G1Eg5oo8sQauM0ra_dATN_Q@mail.gmail.com>
References: <p6ero2$ge$1@blaine.gmane.org>
	<CA+cVU8NLtWYS0M3fiUKgYTWQ9AY2KrmdMFTTC41phkxp7zifOg@mail.gmail.com>
	<p6gjk8$u73$1@blaine.gmane.org>
	<CAB=Je-FyTxYOaB+=KHtGeYuNkkQMsAoDfZJuHB_dbcT8WERTSg@mail.gmail.com>
	<3094c13b-4ae0-1588-6a95-b60ad95a20b4@gmx.net>
	<CA+cVU8Pagvu=7JrF1xLTJbDm+J6G1Eg5oo8sQauM0ra_dATN_Q@mail.gmail.com>

Jorge Solórzano schrieb am 21.02.2018 um 18:33:
> On Wed, Feb 21, 2018 at 1:40 AM, Thomas Kellerer <spam_eater@gmx.net <mailto:spam_eater@gmx.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.







view thread (9+ messages)  latest in thread

Message-ID: <8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net>
Permalink:  ../8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net/
Also on:    postgresql.org/message-id/8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net

 · 

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: spam_eater@gmx.net
  Subject: Re: JDBC driver returns different version strings on Ubuntu and CentOS
  In-Reply-To: <8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net>
  References: <p6ero2$ge$1@blaine.gmane.org> <CA+cVU8NLtWYS0M3fiUKgYTWQ9AY2KrmdMFTTC41phkxp7zifOg@mail.gmail.com> <p6gjk8$u73$1@blaine.gmane.org> <CAB=Je-FyTxYOaB+=KHtGeYuNkkQMsAoDfZJuHB_dbcT8WERTSg@mail.gmail.com> <3094c13b-4ae0-1588-6a95-b60ad95a20b4@gmx.net> <CA+cVU8Pagvu=7JrF1xLTJbDm+J6G1Eg5oo8sQauM0ra_dATN_Q@mail.gmail.com> <8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net>

* 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