PQsetnonblocking questions - Mailing list pgsql-interfaces

From Tim Barnard
Subject PQsetnonblocking questions
Date
Msg-id 002201c07022$fa575400$32e85ecc@hartcomm.com
Whole thread Raw
Responses Re: PQsetnonblocking questions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
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

pgsql-interfaces by date:

Previous
From: "Adam Lang"
Date:
Subject: Re: PHP and PostgreSQL
Next
From: "Tim Barnard"
Date:
Subject: RE: PQsetnonblocking