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 1lZMxY-0008FN-Eg for pgsql-jdbc@arkaria.postgresql.org; Thu, 22 Apr 2021 00:12:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lZMxW-0005fX-BI for pgsql-jdbc@arkaria.postgresql.org; Thu, 22 Apr 2021 00:12:42 +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 1lZMxW-0005fQ-3r for pgsql-jdbc@lists.postgresql.org; Thu, 22 Apr 2021 00:12:42 +0000 Received: from out-26.smtp.github.com ([192.30.252.209] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lZMxR-0006Gt-3U for pgsql-jdbc@lists.postgresql.org; Thu, 22 Apr 2021 00:12:40 +0000 Received: from github.com (hubbernetes-node-d588c94.ash1-iad.github.net [10.56.113.18]) by smtp.github.com (Postfix) with ESMTPA id E437E5E01A8 for ; Wed, 21 Apr 2021 17:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1619050355; bh=4TCmSGeetmLd6xWcVvHZeAmzbl6sVqeTA1aWo4/ElkY=; h=Date:From:To:Subject:From; b=iREn/Er5XqAlLPYHeY3lioyUAQfa060234z0lHnmIKiEw9qKKXsVWHcnfKSVyBeLP tBuCKK7VEs0gz2QxwZiDJ02feAozEPWRJAccDDzl6N1mBBsSGu9+xcJWGJ9BAw3Rfp mBfiWEpBUiRWh7LS8bB4KQb/ZFRng+IZbspIHyBk= Date: Wed, 21 Apr 2021 17:12:35 -0700 From: Tom Aizenberg To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] aa20de: Add SERIALIZATION_FAILURE to org.postgresql.util.P... 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: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: aa20debc092d00df32bdca22425ed4291e1e4181 https://github.com/pgjdbc/pgjdbc/commit/aa20debc092d00df32bdca22425ed4291e1e4181 Author: Tom Aizenberg Date: 2021-04-21 (Wed, 21 Apr 2021) Changed paths: M pgjdbc/src/main/java/org/postgresql/util/PSQLState.java Log Message: ----------- Add SERIALIZATION_FAILURE to org.postgresql.util.PSQLState #2128 (#2129) Postgres might issue a 40001 state, as described in the documentation: - https://www.postgresql.org/docs/current/transaction-iso.html - https://www.postgresql.org/docs/13/errcodes-appendix.html There is currently no representation of this 40001 state in org.postgresql.util.PSQLState, so we add it here. Co-authored-by: Tom Aizenberg