Doucumentation bug in libpq > Asynchronous Query Processing

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Doucumentation bug in libpq > Asynchronous Query Processing
Дата
Msg-id 200103160457.f2G4vMM59302@hub.org
обсуждение исходный текст
Ответы Re: Doucumentation bug in libpq > Asynchronous Query Processing  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Using types in an inappropriate way causes crash of backend
Следующее
От: Ramin Motakef
Дата:
Сообщение: Server Crash wit insert ... select ... group by