Re: How to cancel a query with libpq

Поиск
Список
Период
Сортировка
От Medi Montaseri
Тема Re: How to cancel a query with libpq
Дата
Msg-id 3E00C564.5010006@intransa.com
обсуждение исходный текст
Ответ на Table Timemachine!  (Lee Kindness <lkindness@csl.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: Wenzhe Zhou
Дата:
Сообщение: How to cancel a query with libpq
Следующее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: ORDER BY random() LIMIT 1 slowness