From: Andreas Joseph Krogh <andreas@visena.com>
To: pgsql-hackers@postgresql.org
Subject: Re: Setting PG-version without recompiling
Date: Thu, 3 Jul 2014 17:54:05 +0200 (CEST)
Message-ID: <VisenaEmail.8e.793040bdcbd63e18.146fcbb2cbb@tc7-on> (raw)
In-Reply-To: <21060.1404396961@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
På torsdag 03. juli 2014 kl. 16:16:01, skrev Tom Lane <tgl@sss.pgh.pa.us
<mailto:tgl@sss.pgh.pa.us>>: Andreas Joseph Krogh <andreas@visena.com> writes:
> Hi. �� I'm up for testing 9.4 but my JDBC-driver fails to connect due to
PG's
> minor-version string: "4beta1". Is it possible to set this somewhere without
> recompiling PG?
No, and even if you could, that would be the wrong approach. The right
approach is to fix the JDBC driver to not complain about such version
strings. I'm a bit surprised they haven't done so long since, considering
how long PG beta versions have been tagged like that. For that matter,
they really ought not complain about strings like "9.5devel" or
"9.5alpha2" either.
regards, tom lane I'm using the pgjdbc-ng driver, I'm sure the "official"
driver handles this. The driver will be fixed (the issue has a pull-request), I
just wondered if there was a magic know I could use until the PR is merged. --
Andreas Jospeh Krogh CTO / Partner - Visena AS Mobile: +47 909 56 963
andreas@visena.com <mailto:andreas@visena.com> www.visena.com
<https://www.visena.com; <https://www.visena.com;
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-jdbc@postgresql.org
Cc: andreas@visena.com, pgsql-hackers@postgresql.org
Subject: Re: Setting PG-version without recompiling
In-Reply-To: <VisenaEmail.8e.793040bdcbd63e18.146fcbb2cbb@tc7-on>
References: <21060.1404396961@sss.pgh.pa.us> <VisenaEmail.8e.793040bdcbd63e18.146fcbb2cbb@tc7-on>
* 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