Skip site navigation (1) Skip section navigation (2)

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:07:26
Message-ID: f2dcf7c0-d630-46bb-a4f8-e3a4e27ee0d2@mm (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-general by date

Next:From: akp geekDate: 2010-10-28 16:11:39
Subject: moving database objects from one schema to other
Previous:From: Daniel VeriteDate: 2010-10-28 16:04:54
Subject: Re: Should PQconsumeInput/PQisBusy be expensive to use?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group