Re: PQisBusy() always busy - Mailing list pgsql-novice

From bradg
Subject Re: PQisBusy() always busy
Date
Msg-id 1315867447753-4796276.post@n5.nabble.com
Whole thread Raw
In response to Re: PQisBusy() always busy  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: PQisBusy() always busy  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-novice
I know it must sound stupid, but...

My code is simple and works exactly the way I want it to with the blocking
functions PQexecParams() and PQexecPrepared(). I'm trying to extend it with
asynchronous functions so I can execute queries both ways.

But I seem to be losing a lot of time on this so my thought was to just use
the blocking functions in a separate thread. Hence my question whether or
not they are thread safe.

Do you know if they are?

Thanks

--
View this message in context: http://postgresql.1045698.n5.nabble.com/PQisBusy-always-busy-tp4793847p4796276.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.

pgsql-novice by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: PQisBusy() always busy
Next
From: SamuelStar
Date:
Subject: Unable to start postgres service (8.4)