From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-jdbc@postgresql.org
Subject: JDBC driver returns different version strings on Ubuntu and CentOS
Date: Mon, 19 Feb 2018 16:52:33 +0100
Message-ID: <p6ero2$ge$1@blaine.gmane.org> (raw)
I have just noticed that DatabaseMetaData.getDatabaseProductVersion() returns the String "10.2.2" when connected to a server running on Ubuntu, but returns "10.2" when connected to a server running on CentOS or Windows.
Is there a specific reason for this?
It's a bit confusing because 10.2.2 doesn't actually exists as a "real" Postgres version.
This happens with the driver versions 42.1.4 and 42.2.1 (haven tried others)
Regards
Thomas
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: <p6ero2$ge$1@blaine.gmane.org>
References: <p6ero2$ge$1@blaine.gmane.org>
* 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