Re: Doc bug: libpq PQconnectPoll()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: <philip(dot)howell(at)cit(dot)act(dot)edu(dot)au>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Doc bug: libpq PQconnectPoll()
Date: 2001-03-21 19:19:20
Message-ID: Pine.LNX.4.30.0103212019080.1694-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Corrected. Thanks.

pgsql-bugs(at)postgresql(dot)org writes:

> 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:
>
> 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
>
>

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Stephan Szabo 2001-03-21 20:33:22 Re: regcomp problems
Previous Message M, Eichhorn 2001-03-21 16:31:04 Re: Some regression tests are failed RH7.0