Bug sent to bugs list - Mailing list pgsql-jdbc

From Brian K
Subject Bug sent to bugs list
Date
Msg-id CAH7dgZ8Ym_c+F0q7rJEnX-+paxVU_o2zojnPL3k-r+6Fg5oMBg@mail.gmail.com
Whole thread Raw
Responses Re: Bug sent to bugs list
List pgsql-jdbc
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: Mark Rotteveel
Date:
Subject: Re: [PostgresJDBCDriver 42.2.2 Strange Behavior] Observed precisionand scale being set as 17 for 'Double Precision data type'
Next
From: Dave Cramer
Date:
Subject: Re: [PostgresJDBCDriver 42.2.2 Strange Behavior] Observed precisionand scale being set as 17 for 'Double Precision data type'