Re: Setting PG-version without recompiling

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Joseph Krogh <andreas(at)visena(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Setting PG-version without recompiling
Date: 2014-07-03 14:16:01
Message-ID: 21060.1404396961@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

Andreas Joseph Krogh <andreas(at)visena(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-07-03 14:37:38 Re: "RETURNING PRIMARY KEY" syntax extension
Previous Message Kevin Grittner 2014-07-03 14:11:54 Re: Proposing pg_hibernate

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andreas Joseph Krogh 2014-07-03 15:54:05 Re: Setting PG-version without recompiling
Previous Message Andreas Joseph Krogh 2014-07-03 09:35:04 Re: Setting PG-version without recompiling