[pgjdbc/pgjdbc] f89e62: fix: In logical decoding the if the backend was re...

Dave Cramer <[email protected]> Wed, 28 Aug 2019 06:23:04 -0700
Newsgroups gmane.comp.db.postgresql.jdbc
Message-ID <pgjdbc/pgjdbc/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: f89e62cdce4895f163dc95353cd31614347624b6
      https://github.com/pgjdbc/pgjdbc/commit/f89e62cdce4895f163dc95353cd31614347624b6
  Author: Dave Cramer <[email protected]>
  Date:   2019-08-28 (Wed, 28 Aug 2019)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/replication/V3PGReplicationStream.java

  Log Message:
  -----------
  fix: In logical decoding the if the backend was requesting a reply we… (#1467)

* Do not call processCopyResults in flush

* Use System.nanos() instead of currentTimeMillis()

* Added lock into processCopyResults 

* ignore concurrent requests to processCopyResults

* reset the processingCopyResults in a try-finally block