Page 1 of 1

Cancelling a database query

Posted: Thu 19 Apr 2007 08:05
by per
Hello,

Is there a way of cancelling a query before it has been completely processed on the server?

I know that it is possible to cancel a query in pgAdmin, but is it possible to do in a controlled manner using "PostgreSQLDirect .NET"?

Regards,
Per

Posted: Thu 19 Apr 2007 08:49
by Alexey
Yes, there is a way. Use PgSqlCommand.Cancel().