Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B7CD8475F7B for ; Wed, 23 Oct 2002 16:31:09 -0400 (EDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by postgresql.org (Postfix) with ESMTP id E63C9475E88 for ; Wed, 23 Oct 2002 16:31:08 -0400 (EDT) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 184S8k-0002FY-00 for ; Wed, 23 Oct 2002 22:30:06 +0200 To: pgsql-interfaces@postgresql.org X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 184IRn-0001sN-00 for ; Wed, 23 Oct 2002 12:09:07 +0200 Path: not-for-mail From: Gerhard =?iso-8859-1?Q?H=E4ring?= Subject: Re: Cancel a query Date: Wed, 23 Oct 2002 10:09:07 +0000 (UTC) Organization: OPUS GmbH Lines: 8 Message-ID: References: <1035323592.22331.0.camel@Monet> NNTP-Posting-Host: mail.opus-gmbh.net X-Trace: main.gmane.org 1035367747 1607 217.6.134.138 (23 Oct 2002 10:09:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 10:09:07 +0000 (UTC) User-Agent: slrn/0.9.7.4 (CYGWIN_NT-5.0) X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/72 X-Sequence-Number: 3234 Wei Weng [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