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

From Merlin Moncure
Subject Re: PQisBusy() always busy
Date
Msg-id CAHyXU0zyFCztLO5O3FYHz4iandoG97pwWJd=JLZiYk29cRBf3Q@mail.gmail.com
Whole thread Raw
In response to Re: PQisBusy() always busy  (bradg <bg4all@me.com>)
Responses Re: PQisBusy() always busy
List pgsql-novice
On Mon, Sep 12, 2011 at 2:04 PM, bradg <bg4all@me.com> wrote:
> My output is:
>
> i=1
> i=1
>
> The very first PQisBusy() inside is_result_ready() — right after the
> variable declarations at the top — returns NO before even getting to the
> select() / FD_ISSET() portion of the code.

hm, did you double check the connection?  I did a sloppy connect with
no error handling -- maybe that's the issue -- hopefully that's the
issue.  If you pull the result, is it coming back valid?

merlin

pgsql-novice by date:

Previous
From: bradg
Date:
Subject: Re: PQisBusy() always busy
Next
From: bradg
Date:
Subject: Re: PQisBusy() always busy