Re: PQsetnonblocking questions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Tim Barnard" <tbarnard(at)povn(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: PQsetnonblocking questions
Date: 2000-12-27 17:11:08
Message-ID: 7695.977937068@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Tim Barnard" <tbarnard(at)povn(dot)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

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tim Uckun 2000-12-27 17:18:01 Creating locales.
Previous Message Frank Joerdens 2000-12-27 17:03:39 Re: PHP and PostgreSQL