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

Re: PQisBusy() always busy

From: bradg <bg4all(at)me(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: PQisBusy() always busy
Date: 2011-09-14 00:50:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Thanks for your thoughtful, detailed response. I also took your warnings to
heart and resolved the underlying problem in my code without resorting to
threads. I have both the blocking and nonblocking functions working without
any issues.

Except one. Speed.

When I use the blocking function on a select query for 102 records, the time
is 0.645284 seconds. When I use the nonblocking version, the time is
52.000426 seconds. The application pgAdmin3 takes 1.6 seconds.

Does that seem right?

View this message in context:
Sent from the PostgreSQL - novice mailing list archive at

In response to


pgsql-novice by date

Next:From: roxDate: 2011-09-14 13:44:49
Subject: Can I capture created key id's, work with them, then return them later?
Previous:From: Tom LaneDate: 2011-09-13 17:17:23
Subject: Re: Drop multiple roles

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