From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Kellerer <shammat@gmx.net>
Cc: Pierre Brunel <peter.newatpostgres@gmail.com>
Cc: pgsql-jdbc@lists.postgresql.org
Subject: Re: [Compatibilty][PSQL 13][JDBC 9.1-902] Novice tries to know compatibility issues.
Date: Wed, 06 Oct 2021 09:46:28 -0400
Message-ID: <4138242.1633527988@sss.pgh.pa.us> (raw)
In-Reply-To: <db949d61-1377-9517-1f79-9d15bc23aef0@gmx.net>
References: <CAHfuaRq0qk7LXJYVMz0nKSRtXJG2i5vRpWWNgwWK2YVkKcUwnA@mail.gmail.com>
<db949d61-1377-9517-1f79-9d15bc23aef0@gmx.net>
Thomas Kellerer <shammat@gmx.net> writes:
> Pierre Brunel schrieb am 06.10.2021 um 11:11:
>> All i ask is to know if i switch to PSQL 13 is it possible to stay on 9.1-902 ? And if not why ?
> If you migrate to Postgres 13, you will have to upgrade the JDBC driver as well, as Postgres introduced
> a new authentication protocol that the outdated JDBC driver does not understand.
Well, he's not required to start using SCRAM auth right away. I think
the bigger hazard is that some metadata queries may fail due to catalog
changes. I don't have an old JDBC at hand, but I did quickly try psql 9.1
against a v13 server, and some things fell over:
regression=# \d mytable
ERROR: column c.relhasoids does not exist
LINE 1: ..., c.relhasindex, c.relhasrules, c.relhastriggers, c.relhasoi...
^
Maybe JDBC wouldn't have any problems in your usage, but you couldn't know
that except by testing.
> The better strategy would probably be to update the driver now and use the current driver with
> your Postgres 9.1 installation if you want to test for possible (although unlikely) compatibility
> issues with the driver.
Yeah, if you want a staged approach, updating the client side first might
work better.
regards, tom lane
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: tgl@sss.pgh.pa.us, shammat@gmx.net, peter.newatpostgres@gmail.com
Subject: Re: [Compatibilty][PSQL 13][JDBC 9.1-902] Novice tries to know compatibility issues.
In-Reply-To: <4138242.1633527988@sss.pgh.pa.us>
References: <CAHfuaRq0qk7LXJYVMz0nKSRtXJG2i5vRpWWNgwWK2YVkKcUwnA@mail.gmail.com> <db949d61-1377-9517-1f79-9d15bc23aef0@gmx.net> <4138242.1633527988@sss.pgh.pa.us>
* 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