Bug sent to bugs list

From: Brian K <harvestmoon299(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Bug sent to bugs list
Date: 2018-04-20 17:01:08
Message-ID: CAH7dgZ8Ym_c+F0q7rJEnX-+paxVU_o2zojnPL3k-r+6Fg5oMBg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2018-04-22 19:25:04 Re: [PostgresJDBCDriver 42.2.2 Strange Behavior] Observed precision and scale being set as 17 for 'Double Precision data type'
Previous Message Mark Rotteveel 2018-04-20 12:39:13 Re: [PostgresJDBCDriver 42.2.2 Strange Behavior] Observed precision and scale being set as 17 for 'Double Precision data type'