Re: How to cancel a query with libpq - Mailing list pgsql-general

From Medi Montaseri
Subject Re: How to cancel a query with libpq
Date
Msg-id 3E00C564.5010006@intransa.com
Whole thread Raw
In response to Table Timemachine!  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-general
PQrequestCancel()....but that would work with Async queries or if you
are using
7.3, you can timeout via postgresql.conf:statement_timeout and then send the
cancellation request to the backend.....

Wenzhe Zhou wrote:

>How to send request to server to cancel a query with libpq API?
>Thanks
>
>Wenzhe
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>




pgsql-general by date:

Previous
From: Wenzhe Zhou
Date:
Subject: How to cancel a query with libpq
Next
From: Jean-Luc Lachance
Date:
Subject: Re: ORDER BY random() LIMIT 1 slowness