Skip site navigation (1) Skip section navigation (2)

Doc bug: libpq PQconnectPoll()

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Doc bug: libpq PQconnectPoll()
Date: 2001-03-21 04:28:23
Message-ID: (view raw, whole thread or download thread mbox)
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
Doc bug: libpq PQconnectPoll()

Long Description
In the online docs:

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)



Sample Code

No file was uploaded with this report


pgsql-bugs by date

Next:From: Tatsuo IshiiDate: 2001-03-21 05:30:21
Subject: Re: Bugs on COPY command
Previous:From: Lamar OwenDate: 2001-03-20 22:07:40
Subject: Re: Some regression tests are failed RH7.0

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group