Doc bug: libpq PQconnectPoll()

PostgreSQL Bugs List <pgsql-bugs@postgresql.org>

From: pgsql-bugs@postgresql.org
To: pgsql-bugs@postgresql.org
Date: 2001-03-21T04:28:23Z
Lists: 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
Doc bug: libpq PQconnectPoll()

Long Description
In the online docs:

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

The PQconnectPoll function is defined as:

PostgresPollingStatusType *PQconnectPoll(PQconn *conn)

I think that there are two bugs here.

1. PQconnectPoll doe not return a <b>pointer</b> to a PostgresPollingStatusType but a PostgresPollingStatus Type thing.

2. There is a typo in the parameter type. It should be PGconn not PQconn.

In summary I think the line should be:

PostgresPollingStatusType PQconnectPoll(PGconn *conn)

Cheers

Phil

Sample Code


No file was uploaded with this report