Thread: Cancel a query

Cancel a query

From
Wei Weng
Date:
Is there a C API that cancels a query?

Thanks

-- 
Wei Weng
Network Software Engineer
KenCast Inc.




Re: Cancel a query

From
Gerhard Häring
Date:
Wei Weng <wweng@kencast.com> [2002-10-22 21:53 GMT]:
> Is there a C API that cancels a query?

Yes, if you use the async functions: PQrequestCancel

See http://developer.postgresql.org/docs/postgres/libpq-async.html

-- Gerhard