"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