Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mY7Fn-0005Yk-G4 for pgsql-jdbc@arkaria.postgresql.org; Wed, 06 Oct 2021 13:46:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mY7Fm-0001go-1G for pgsql-jdbc@arkaria.postgresql.org; Wed, 06 Oct 2021 13:46:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mY7Fl-0001gg-RO for pgsql-jdbc@lists.postgresql.org; Wed, 06 Oct 2021 13:46:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mY7Fj-0006fS-Ny for pgsql-jdbc@lists.postgresql.org; Wed, 06 Oct 2021 13:46:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 196DkSU54138243; Wed, 6 Oct 2021 09:46:29 -0400 From: Tom Lane To: Thomas Kellerer cc: Pierre Brunel , pgsql-jdbc@lists.postgresql.org Subject: Re: [Compatibilty][PSQL 13][JDBC 9.1-902] Novice tries to know compatibility issues. In-reply-to: References: Comments: In-reply-to Thomas Kellerer message dated "Wed, 06 Oct 2021 12:39:22 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4138241.1633527988.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 06 Oct 2021 09:46:28 -0400 Message-ID: <4138242.1633527988@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Kellerer 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 und= erstand. 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=3D# \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 t= he current driver with > your Postgres 9.1 installation if you want to test for possible (althoug= h unlikely) compatibility > issues with the driver. Yeah, if you want a staged approach, updating the client side first might work better. regards, tom lane