pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tim Barnard <tbarnard@povn.com>
To: pgsql-interfaces@postgresql.org
Subject: PQsetnonblocking questions
Date: Wed, 27 Dec 2000 08:35:09 -0800
Message-ID: <002201c07022$fa575400$32e85ecc@hartcomm.com> (raw)

Hello everyone,

I'm running release 7.0.3 and discovered that the include file libpq-fe.h prototypes PQsetnonblocking as follows: int PQsetnonblocking(PGconn * conn, int arg)
 However, the documentation shows it as: PQsetnonblocking(PGconn * conn).
Does nayone know what the extra argument "int arg" is for? And as my C app is not using a select statement to wait, do I even need to use PQsetnonblocking? I am using PQconsumeInput, PQsendQuery, PQisBusy and PQgetResult.

Tim
S.E. Mgr
Hartford Communications

view thread (2+ messages)  latest in thread

Message-ID: <002201c07022$fa575400$32e85ecc@hartcomm.com>
Permalink:  ../002201c07022$fa575400$32e85ecc@hartcomm.com/
Also on:    postgresql.org/message-id/002201c07022$fa575400$32e85ecc@hartcomm.com

 · 

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: tbarnard@povn.com
  Subject: Re: PQsetnonblocking questions
  In-Reply-To: <002201c07022$fa575400$32e85ecc@hartcomm.com>

* 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