[pgjdbc/pgjdbc] aa20de: Add SERIALIZATION_FAILURE to org.postgresql.util.P...

From: Tom Aizenberg <noreply(at)github(dot)com>
To: pgsql-jdbc(at)lists(dot)postgresql(dot)org
Subject: [pgjdbc/pgjdbc] aa20de: Add SERIALIZATION_FAILURE to org.postgresql.util.P...
Date: 2021-04-22 00:12:35
Message-ID: pgjdbc/pgjdbc/push/refs/heads/master/f61fbf-aa20de@github.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: aa20debc092d00df32bdca22425ed4291e1e4181
https://github.com/pgjdbc/pgjdbc/commit/aa20debc092d00df32bdca22425ed4291e1e4181
Author: Tom Aizenberg <tom(dot)aizenberg(at)gmail(dot)com>
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 <tom(dot)aizenberg(at)imc(dot)com>

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2021-04-22 12:23:19 [pgjdbc/pgjdbc] 1a15d6: Update changelog, bump version number (#2126)
Previous Message LE MENTEC, SANDRINE 2021-04-16 12:01:28 RE: sspi connection throws NoSuchMethodError: com.such.jna.platform.win32.Sspi$SecBufferDesc with Waffle 2.3.0