Sign In | Register Now About Bytes | Help | Site Map
Connecting Tech Pros Worldwide

async queries (libpq)

Question posted by: Nicolao Renč (Guest) on November 23rd, 2005 02:04 AM
Hi, I need to execute some queries that do not return any value
for example "DELETE * FROM foo". This queries take a lot of time and I
can't put them together in a single query.
If I use the non-blocking function PQsendQuery() I have to wait until
the execution of the first query terminates before executing another
query right?
In my case (without a result for the query) is it right to check only if
PQisBusy returns 0 inside a loop before executing the next query?
 
Not the answer you were looking for? Post your question . . .
189,069 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
  • Didn't find the answer you were looking for?
    Post Your Question
  • Top Community Contributors