Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: Add cancelQuery() to PGConnection public interface #1157
There's been at least one other request for this in the past: #1084
Any thoughts on merging this in?
@@ Coverage Diff @@ ## master #1157 +/- ## ============================================ - Coverage 68.94% 68.93% -0.02% + Complexity 3775 3774 -1 ============================================ Files 170 170 Lines 15757 15757 Branches 2577 2577 ============================================ - Hits 10864 10862 -2 - Misses 3658 3659 +1 - Partials 1235 1236 +1
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.