Doucumentation bug in libpq > Asynchronous Query Processing - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Doucumentation bug in libpq > Asynchronous Query Processing
Date
Msg-id 200103160457.f2G4vMM59302@hub.org
Whole thread Raw
Responses Re: Doucumentation bug in libpq > Asynchronous Query Processing
List pgsql-bugs
Philip (philip.howell@cit.act.edu.au) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Doucumentation bug in libpq > Asynchronous Query Processing

Long Description
In the online docs:

http://postgresql.org/users-lounge/docs/7.0/postgres/libpq-chapter22577.htm

there is a problem with documentation regarding the function PQsetnonblocking.  The documentation defines the function
as:

  int PQsetnonblocking(PGconn *conn)

While in libpq-fe.h (installed from rpm postgresql-devel-7.0.3-2) it is defined as:

  int PQsetnonblocking(PGconn *conn, int arg)

Which has an extra argument arg.  I guessed that this argument was to be TRUE or FALSE, to set or unset blocking, and
thisseems to work, however there is no mention of the argument in the docs. 

Regards

Phil


Sample Code


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Using types in an inappropriate way causes crash of backend
Next
From: Ramin Motakef
Date:
Subject: Server Crash wit insert ... select ... group by