Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljjP0-0002Or-Vd for pgsql-jdbc@arkaria.postgresql.org; Thu, 20 May 2021 14:11:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ljjOz-0006Hj-J8 for pgsql-jdbc@arkaria.postgresql.org; Thu, 20 May 2021 14:11:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljjOz-0006Hb-Bo for pgsql-jdbc@lists.postgresql.org; Thu, 20 May 2021 14:11:53 +0000 Received: from out-25.smtp.github.com ([192.30.252.208] helo=smtp.github.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ljjOw-0002oY-W2 for pgsql-jdbc@lists.postgresql.org; Thu, 20 May 2021 14:11:52 +0000 Received: from github.com (hubbernetes-node-6b36783.ash1-iad.github.net [10.56.112.61]) by smtp.github.com (Postfix) with ESMTPA id 0972884059C for ; Thu, 20 May 2021 07:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1621519910; bh=sK9jvauuhLWV9tjMzuYXO5/mqxTn3ALddidkEOEjhkg=; h=Date:From:To:Subject:From; b=Vp7ZKSFrjnG6ZewHD5YylLoU868xhXr19eWz0/P5gog25dAWkcpnkyC/At1VnmeZ4 NmsAxe1KQ1krrVRqWsp+22ek8vd5B38yFKsI/yfaRxZ7+WxPETJaTFYk09rpNNjACD w/vDrfkmKuSFDYgKsW5S93f7+aR6c7Z2sphaBjPQ= Date: Thu, 20 May 2021 07:11:50 -0700 From: Dave Cramer To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] b3d5fb: fix: try to read any notifies or errors that come ... Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: Archived-At: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: b3d5fba91a9ddbd6c7e6bfce774f0c0cc94593b9 https://github.com/pgjdbc/pgjdbc/commit/b3d5fba91a9ddbd6c7e6bfce774f0c0cc94593b9 Author: Dave Cramer 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