pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Barnard <tbarnard@povn.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: PQsetnonblocking questions
Date: Wed, 27 Dec 2000 12:11:08 -0500
Message-ID: <7695.977937068@sss.pgh.pa.us> (raw)
In-Reply-To: <002201c07022$fa575400$32e85ecc@hartcomm.com>
References: <002201c07022$fa575400$32e85ecc@hartcomm.com>

"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



view thread (2+ messages)

Message-ID: <7695.977937068@sss.pgh.pa.us>
Permalink:  ../7695.977937068@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7695.977937068@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tbarnard@povn.com
  Subject: Re: PQsetnonblocking questions
  In-Reply-To: <7695.977937068@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox