Doucumentation bug in libpq > Asynchronous Query Processing

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Doucumentation bug in libpq > Asynchronous Query Processing
Date: 2001-03-16 04:57:22
Message-ID: 200103160457.f2G4vMM59302@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Philip (philip(dot)howell(at)cit(dot)act(dot)edu(dot)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 this seems to work, however there is no mention of the argument in the docs.

Regards

Phil

Sample Code

No file was uploaded with this report

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ramin Motakef 2001-03-18 12:46:05 Server Crash wit insert ... select ... group by
Previous Message Thomas Lockhart 2001-03-15 23:40:33 Re: Using types in an inappropriate way causes crash of backend