diff --git a/pgjdbc/src/main/java/org/postgresql/PGConnection.java b/pgjdbc/src/main/java/org/postgresql/PGConnection.java index ba2a04e907..021d1909cc 100644 --- a/pgjdbc/src/main/java/org/postgresql/PGConnection.java +++ b/pgjdbc/src/main/java/org/postgresql/PGConnection.java @@ -182,6 +182,11 @@ public interface PGConnection { */ int getBackendPID(); + /** + * Sends a query cancellation for this connection. + */ + void cancelQuery() throws SQLException; + /** * Return the given string suitably quoted to be used as an identifier in an SQL statement string. * Quotes are added only if necessary (i.e., if the string contains non-identifier characters or