mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Implementation for cancelQuery by Grant Finnemore <grantf@guruhut.co.za>
This commit is contained in:
@ -211,6 +211,11 @@ public class Statement extends org.postgresql.Statement implements java.sql.Stat
|
||||
return result;
|
||||
}
|
||||
|
||||
public void Cancel() throws SQLException
|
||||
{
|
||||
connection.cancelQuery();
|
||||
}
|
||||
|
||||
public java.sql.Connection getConnection() throws SQLException
|
||||
{
|
||||
return (java.sql.Connection)connection;
|
||||
|
Reference in New Issue
Block a user