CancelQuery

Tries to cancel a query in execution, when in assynchronous mode. This will call libpq's PQrequestCancel function, and it will work just like it.

Parameters:

Connection
The TSQLConnection component that is connected to the server.

Exceptions:

None defined

Quick Info:

Supported Compilers: Category:
Query Execution Unit:
PGEDriverUtils.pas  

Example 5.9. 

CancelQuery(SQLConnection1);