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 1ia3Z8-0004ve-5j for pgsql-jdbc@arkaria.postgresql.org; Wed, 27 Nov 2019 20:05:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ia3Z6-00084d-Pz for pgsql-jdbc@arkaria.postgresql.org; Wed, 27 Nov 2019 20:05:32 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ia3Z6-00084V-Db for pgsql-jdbc@lists.postgresql.org; Wed, 27 Nov 2019 20:05:32 +0000 Received: from out-13.smtp.github.com ([192.30.254.196]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ia3Yz-0007z6-8X for pgsql-jdbc@lists.postgresql.org; Wed, 27 Nov 2019 20:05:31 +0000 Date: Wed, 27 Nov 2019 12:05:23 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1574885123; bh=kdMrvffPxwG6DI/hW1+7vmIl8Ytjivi4nlakpsJ9UpU=; h=Date:From:To:Subject:From; b=ULOyvCFKzD/hBhj2hZNnktJ2QZPXLnGFPBdGoVI9XI40ii25KoQfY/5hnclLfuXkr b9r7d/ef8gGtGj08/ECvTACsDXArCdKjGL33ASIX/LB1qpKL8oKfv5df4tx8X/DOkU znp5s0VcUCRnFML9BavlCp7md1UuxiafJczgKoT4= From: Sehrope Sarkuni To: pgsql-jdbc@lists.postgresql.org Message-ID: Subject: [pgjdbc/pgjdbc] f0af53: feat: Add cancelQuery() to PGConnection public int... 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: Precedence: bulk Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: f0af538f59924fd9d692627102c94517e5f6008e https://github.com/pgjdbc/pgjdbc/commit/f0af538f59924fd9d692627102c94517e5f6008e Author: Sehrope Sarkuni Date: 2019-11-27 (Wed, 27 Nov 2019) Changed paths: M pgjdbc/src/main/java/org/postgresql/PGConnection.java Log Message: ----------- feat: Add cancelQuery() to PGConnection public interface (#1157) Adds cancelQuery() to the extended public interface PGConnection to allow for issueing of cancels directly to connections rather than having to keep track of individual statements. The internals of the driver and the backend server already operate at a connection level (not a statement level) and this patch only exposes the existing cancelQuery() method publicly.