From: jec@jesc.ch
To: pgsql-bugs@postgresql.org
Subject: BUG #14443: JDBC Driver > 1208 doesn't work with PGADV server
Date: Thu, 01 Dec 2016 10:34:57 +0000
Message-ID: <20161201103457.4360.38314@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 14443
Logged by: Jean-Eric Cuendet
Email address: jec@jesc.ch
PostgreSQL version: Unsupported/Unknown
Operating system: Linux / Java
Description:
I user driver 1208. It works with my PGADV server 9.3.1.6 (version on 4
positions)
I upgraded with 1212 (1211 -> same problem) and it doesn't work anymore.
The problem is that the ServerVersion.parseServerVersionStr() method was
changed between 1208 -> 1211 and it doesn't wotk anymore.
In ServerVersion on line 145, we have:
if (versionParts == 3) {
This is wrong in the case of the version being > 3 which is my case.
It shoud be
if (versionParts >= 3) {
Thanks for the correction.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: jec@jesc.ch
Subject: Re: BUG #14443: JDBC Driver > 1208 doesn't work with PGADV server
In-Reply-To: <20161201103457.4360.38314@wrigleys.postgresql.org>
References: <20161201103457.4360.38314@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox