Re: PQsetnonblocking questions - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: PQsetnonblocking questions
Date
Msg-id 7695.977937068@sss.pgh.pa.us
Whole thread Raw
In response to PQsetnonblocking questions  ("Tim Barnard" <tbarnard@povn.com>)
List pgsql-interfaces
"Tim Barnard" <tbarnard@povn.com> writes:
> ... do I even need to use PQsetnonblocking?

Not unless you are unhappy about the possibility of short-term blocking
during PQsendQuery (which is a very remote possibility anyway, unless
you send huge query strings).

I believe that the nonblocking-mode code is pretty buggy, and don't
recommend using it unless you really need it and want to help debug
it...
        regards, tom lane


pgsql-interfaces by date:

Previous
From: Frank Joerdens
Date:
Subject: Re: PHP and PostgreSQL
Next
From: "Adam Lang"
Date:
Subject: Re: PHP and PostgreSQL