Re: Should PQconsumeInput/PQisBusy be expensive to use? - Mailing list pgsql-general

From Daniel Verite
Subject Re: Should PQconsumeInput/PQisBusy be expensive to use?
Date
Msg-id 2b3cdc52-30fe-4d99-ba42-c3431cf2ae69@mm
Whole thread Raw
In response to Re: Should PQconsumeInput/PQisBusy be expensive to use?  ("A.M." <agentm@themactionfaction.com>)
Responses Re: Should PQconsumeInput/PQisBusy be expensive to use?
List 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

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Why Select Count(*) from table - took over 20 minutes?
Next
From: "Daniel Verite"
Date:
Subject: Re: Should PQconsumeInput/PQisBusy be expensive to use?