Used to cancel a query that is currently being executed on the connection.
procedure BreakExec;
Call the BreakExec method to cancel a query that is currently being executed on the connection. If you call the Execute method of TPgQuery, it will not return until the query is executed. So you need to call the BreakExec method from another thread to cancel the query.