[pgjdbc/pgjdbc] b3d5fb: fix: try to read any notifies or errors that come ...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[pgjdbc/pgjdbc] b3d5fb: fix: try to read any notifies or errors that come ...

Dave Cramer-9
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: b3d5fba91a9ddbd6c7e6bfce774f0c0cc94593b9
      https://github.com/pgjdbc/pgjdbc/commit/b3d5fba91a9ddbd6c7e6bfce774f0c0cc94593b9
  Author: Dave Cramer <[hidden email]>
  Date:   2021-05-20 (Thu, 20 May 2021)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    M pgjdbc/src/main/java/org/postgresql/util/PSQLState.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/CopyTest.java
    A pgjdbc/src/test/java/org/postgresql/test/jdbc4/TestTerminate.java

  Log Message:
  -----------
  fix: try to read any notifies or errors that come in asynchronously (#2143)

* try to read any notifies or errors that come in asynchronously

* Added new PSQLState to handle terminated backends and added test to test for fatal termination