Обсуждение: Bug sent to bugs list

Поиск
Список
Период
Сортировка

Bug sent to bugs list

От
Brian K
Дата:
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

Re: Bug sent to bugs list

От
Dave Cramer
Дата:
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