Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2xus-0008MC-Jn for pgsql-jdbc@arkaria.postgresql.org; Wed, 28 Aug 2019 13:23:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2xuq-00075E-Rt for pgsql-jdbc@arkaria.postgresql.org; Wed, 28 Aug 2019 13:23:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2xuq-00073p-Hn for pgsql-jdbc@lists.postgresql.org; Wed, 28 Aug 2019 13:23:12 +0000 Received: from out-4.smtp.github.com ([192.30.252.195]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2xuk-0000ZA-P3 for pgsql-jdbc@lists.postgresql.org; Wed, 28 Aug 2019 13:23:09 +0000 Date: Wed, 28 Aug 2019 06:23:04 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1566998584; bh=owijdfvdLmemoZT5tVzRp7JheFGtdbXZmtIIw077DOw=; h=Date:From:To:Subject:From; b=HlEDLJgjx+KHcYpfvGIYMkaP2e09z7qSvwQuSxcMzLh7ZyYnQkIBk/HBPlLvwaHg0 +X+rVBU/VRr2xkiKcU9B+V3M1eNQwegvSpg/1Tum3CgYUCjT1Bfw0CD5iyzJV9ZvT2 drl9bVls0Hik+cQB9hP2z83ofUYu6r6QZkRpO67g= From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] f89e62: fix: In logical decoding the if the backend was re... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Precedence: bulk Branch: refs/heads/master=0D Home: https://github.com/pgjdbc/pgjdbc=0D Commit: f89e62cdce4895f163dc95353cd31614347624b6=0D https://github.com/pgjdbc/pgjdbc/commit/f89e62cdce4895f163dc95353cd= 31614347624b6=0D Author: Dave Cramer =0D Date: 2019-08-28 (Wed, 28 Aug 2019)=0D =0D Changed paths:=0D M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java=0D= M pgjdbc/src/main/java/org/postgresql/core/v3/replication/V3PGReplica= tionStream.java=0D =0D Log Message:=0D -----------=0D fix: In logical decoding the if the backend was requesting a reply we=E2= =80=A6 (#1467)=0D =0D * Do not call processCopyResults in flush=0D =0D * Use System.nanos() instead of currentTimeMillis()=0D =0D * Added lock into processCopyResults =0D =0D * ignore concurrent requests to processCopyResults=0D =0D * reset the processingCopyResults in a try-finally block=0D =0D =0D