[pgjdbc/pgjdbc] aa20de: Add SERIALIZATION_FAILURE to org.postgresql.util.P...
[pgjdbc/pgjdbc] aa20de: Add SERIALIZATION_FAILURE to org.postgresql.util.P...
От:
Tom Aizenberg <noreply@github.com>
Дата:
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