Re: Should PQconsumeInput/PQisBusy be expensive to use?

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: Should PQconsumeInput/PQisBusy be expensive to use?
Дата
Msg-id f2dcf7c0-d630-46bb-a4f8-e3a4e27ee0d2@mm
обсуждение исходный текст
Ответ на Re: Should PQconsumeInput/PQisBusy be expensive to use?  (Michael Clark <codingninja@gmail.com>)
Список pgsql-general
    Michael Clark wrote:

> I guess I can have one thread performing the query using the non async PG
> calls, then from another thread issue the cancellation.  Both threads
> accessing the same PGconn ?

Yes. See http://www.postgresql.org/docs/9.0/static/libpq-cancel.html

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

В списке pgsql-general по дате отправления:

Предыдущее
От: "Daniel Verite"
Дата:
Сообщение: Re: Should PQconsumeInput/PQisBusy be expensive to use?
Следующее
От: akp geek
Дата:
Сообщение: moving database objects from one schema to other