Re: Bug sent to bugs list - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Bug sent to bugs list
Date
Msg-id CADK3HHLg-Vq8+yJJa50z2Mufa8Ge-KW=LAaV-DG+s+yYEScnoQ@mail.gmail.com
Whole thread Raw
In response to Bug sent to bugs list  (Brian K <harvestmoon299@gmail.com>)
List pgsql-jdbc
Brian,

You must be using a very old version of the driver. That code does not exist in the current version.

We really don't fix old versions. Please upgrade your JDBC driver


On 20 April 2018 at 13:01, Brian K <harvestmoon299@gmail.com> wrote:
Hi,

I sent a bug report to the bugs list before I had access to send to this list.  Please review it at https://www.postgresql.org/message-id/152391092483.19372.3490947165359902260@wrigleys.postgresql.org

it is BUG #15158: JDBC driver has faulty comparison in method: haveMinimumServerVersion(String ver). 

The issue seemed to be identified in the code but not fixed.  Seems like a simple fix to compare version strings using the Scanner class and the getInt() method (as seen at https://stackoverflow.com/a/6702042/1639527)

Thanks,
Brian

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: [PostgresJDBCDriver 42.2.2 Strange Behavior] Observed precisionand scale being set as 17 for 'Double Precision data type'
Next
From: Hari Babu Kommi
Date:
Subject: [pgjdbc/pgjdbc] e88abd: spelling mistake correction (#1181)