From: John R Pierce <pierce@hogranch.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: old JDBC driver (8.1-JDBC3) can connect to postgresql 9.x ?
Date: Mon, 16 Jan 2017 16:28:47 -0800
Message-ID: <ba50decf-eacf-d9a5-6365-5afb34df884a@hogranch.com> (raw)
In-Reply-To: <235703.87762.qm@web32001.mail.ssk.yahoo.co.jp>
References: <887714.44014.qm@web32005.mail.ssk.yahoo.co.jp>
<CA+cVU8N3_LFyHbs_5DLx-ys-oE+M1Dm-9cWJ6LfNuMfcbOq0Bw@mail.gmail.com>
<902560.56013.qm@web32001.mail.ssk.yahoo.co.jp>
<CA+cVU8PYLCgZ6mnXsbOn8r-uJ0QvRo7kqids0MnwUW77d+qj+A@mail.gmail.com>
<235703.87762.qm@web32001.mail.ssk.yahoo.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
On 1/16/2017 4:05 PM, itoshun001@efeel.to wrote:
> Versions of jdbc driver that supported Java 5 can't connect to postgresql 9.4 or later
> because
> - the versions of jdbc driver don't support JDBC 4, 41 and 42
> - the versions of postreqsql don't support JDBC3
java 5 is obsolete and no longer supported, so the postgres jdbc driver
no longer goes to the extra effort of testing to support it.
postgresql itself knows nothing about jdbc any version, thats purely
between Java and the JDBC driver.
the major issue I can see that you might hit using an old jdbc driver
with a much newer postgres database server is catalog changes... the
old driver was written with an understanding of pg_catalog circa
postgres 8.1 or 8.3... some things have changed, the new version
supports both new and old catalog changes. the other potential issue
is somewhere around 8.4 or 9.0, postgresql got stricter on automatic
datatype casting, and there are certain implicit type casts that would
work in 8.x that no longer work. I do forget exact version this happened.
--
john r pierce, recycling bits in santa cruz
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: pierce@hogranch.com
Subject: Re: old JDBC driver (8.1-JDBC3) can connect to postgresql 9.x ?
In-Reply-To: <ba50decf-eacf-d9a5-6365-5afb34df884a@hogranch.com>
References: <887714.44014.qm@web32005.mail.ssk.yahoo.co.jp> <CA+cVU8N3_LFyHbs_5DLx-ys-oE+M1Dm-9cWJ6LfNuMfcbOq0Bw@mail.gmail.com> <902560.56013.qm@web32001.mail.ssk.yahoo.co.jp> <CA+cVU8PYLCgZ6mnXsbOn8r-uJ0QvRo7kqids0MnwUW77d+qj+A@mail.gmail.com> <235703.87762.qm@web32001.mail.ssk.yahoo.co.jp> <ba50decf-eacf-d9a5-6365-5afb34df884a@hogranch.com>
* 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