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 1kfNQb-0000Gz-RC for pgsql-jdbc@arkaria.postgresql.org; Wed, 18 Nov 2020 13:23:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kfNQY-0002GN-Um for pgsql-jdbc@arkaria.postgresql.org; Wed, 18 Nov 2020 13:23:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfNQY-0002GG-N5 for pgsql-jdbc@lists.postgresql.org; Wed, 18 Nov 2020 13:23:14 +0000 Received: from out-24.smtp.github.com ([192.30.252.207]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kfNQW-0000o3-HA for pgsql-jdbc@lists.postgresql.org; Wed, 18 Nov 2020 13:23:13 +0000 Received: from github.com (hubbernetes-node-2d04ff6.ac4-iad.github.net [10.52.112.19]) by smtp.github.com (Postfix) with ESMTPA id 611BA600F0B for ; Wed, 18 Nov 2020 05:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1605705791; bh=ldObYTzurGUxpevZFlCQ5GF1YyxF5WIPgVTWh6avWOo=; h=Date:From:To:Subject:From; b=nd/E36us6fndcy60/1KtSpDBKw5xTpqVx1FculoHAV2vywl6Hmw6jUkI6jFljuzhU A0BR575+E8fcxTd17v2PJ7LC3adMCWdCavTHPqJWOukGVF3kGNLP11V/v6InHCR/fP h8z3C26lIzLMS1SCOb62m6lSyZakUI3QCwx9DRpo= Date: Wed, 18 Nov 2020 05:23:11 -0800 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] e5e906: fix: Postgres version 14 changes the returned PSQL... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc X-GitHub-Recipient-Address: pgsql-jdbc@lists.postgresql.org X-Auto-Response-Suppress: All List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: e5e9069d0b3265afc4e93ade423eee90554643c3 https://github.com/pgjdbc/pgjdbc/commit/e5e9069d0b3265afc4e93ade423eee90554643c3 Author: Dave Cramer Date: 2020-11-18 (Wed, 18 Nov 2020) Changed paths: M pgjdbc/src/main/java/org/postgresql/core/ServerVersion.java M pgjdbc/src/test/java/org/postgresql/test/jdbc3/EscapeSyntaxCallModeCallIfNoReturnTest.java M pgjdbc/src/test/java/org/postgresql/test/jdbc3/EscapeSyntaxCallModeCallTest.java M pgjdbc/src/test/java/org/postgresql/test/jdbc3/EscapeSyntaxCallModeSelectTest.java Log Message: ----------- fix: Postgres version 14 changes the returned PSQLState for a procedure that is really a function to UNDEFINED_FUNCTION instead of WRONG_OBJECT_TYPE. Also added v13 through v16 for server versions (#1966) * fix: Postgres version 14 changes the returned PSQLState for a procedure that is really a function to UNDEFINED_FUNCTION instead of WRONG_OBJECT_TYPE. Also added v13 through v16 for server versions * use assertEquals instead of asssertTrue * fix all cases of WRONG_OBJECT