Re: PQisBusy() always busy

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: bradg <bg4all(at)me(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: PQisBusy() always busy
Date: 2011-09-12 19:23:03
Message-ID: CAHyXU0zyFCztLO5O3FYHz4iandoG97pwWJd=JLZiYk29cRBf3Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Sep 12, 2011 at 2:04 PM, bradg <bg4all(at)me(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message bradg 2011-09-12 19:48:16 Re: PQisBusy() always busy
Previous Message bradg 2011-09-12 19:04:24 Re: PQisBusy() always busy