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 ExecutionUnit:
PGEDriverUtils.pas 

Example 4.9. 

CancelQuery(SQLConnection1);