Re: Should PQconsumeInput/PQisBusy be expensive to use?

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "PGSQL Mailing List" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Should PQconsumeInput/PQisBusy be expensive to use?
Date: 2010-10-28 16:04:54
Message-ID: 2b3cdc52-30fe-4d99-ba42-c3431cf2ae69@mm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A.M. wrote:

> In PostgreSQL, query canceling is implemented by opening a
> second connection and passing specific data which is received
> from the first connection

With libpq's PQCancel(), a second connection is not necessary.

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Verite 2010-10-28 16:07:26 Re: Should PQconsumeInput/PQisBusy be expensive to use?
Previous Message Merlin Moncure 2010-10-28 16:04:50 Re: Why Select Count(*) from table - took over 20 minutes?