Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eoYR7-00065Q-Ph for pgsql-jdbc@arkaria.postgresql.org; Wed, 21 Feb 2018 17:44:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoYR6-0006ft-Uq for pgsql-jdbc@arkaria.postgresql.org; Wed, 21 Feb 2018 17:44:08 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eoYR6-0006fk-Lu for pgsql-jdbc@lists.postgresql.org; Wed, 21 Feb 2018 17:44:08 +0000 Received: from mail-out.m-online.net ([212.18.0.9]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eoYR3-0007ra-Qq for pgsql-jdbc@lists.postgresql.org; Wed, 21 Feb 2018 17:44:07 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zmlGW1pPsz1qxy2 for ; Wed, 21 Feb 2018 18:44:03 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zmlGW1kCzz1r2b1 for ; Wed, 21 Feb 2018 18:44:03 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id IYtrm6gedvu4 for ; Wed, 21 Feb 2018 18:44:02 +0100 (CET) Received: from [192.168.178.37] (ppp-46-244-153-140.dynamic.mnet-online.de [46.244.153.140]) by mail.mnet-online.de (Postfix) with ESMTP for ; Wed, 21 Feb 2018 18:43:59 +0100 (CET) Subject: Re: JDBC driver returns different version strings on Ubuntu and CentOS Cc: pgsql-jdbc@lists.postgresql.org Newsgroups: gmane.comp.db.postgresql.jdbc References: <3094c13b-4ae0-1588-6a95-b60ad95a20b4@gmx.net> From: Thomas Kellerer Message-ID: <8e6f22b6-8c87-4d85-6324-c19a4f6389b5@gmx.net> Date: Wed, 21 Feb 2018 18:43:59 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Jorge Solórzano schrieb am 21.02.2018 um 18:33: > On Wed, Feb 21, 2018 at 1:40 AM, Thomas Kellerer > 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.