Re: PQcmdTuples() declaration

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PQcmdTuples() declaration
Дата
Msg-id 200211071658.gA7Gwd522837@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: PQcmdTuples() declaration  (Payman <payman@Club-Internet.fr>)
Список pgsql-interfaces
Good catch.  It looks like PQcmdStatus and PQcmdStatus are both wrong. 
They should be 'const' in the code.  I will fix that in 7.4.

---------------------------------------------------------------------------

Payman wrote:
> Hi Michael
> I am running version 7.2.3 on MacOS X and seam thing
> I think this is a doc probleme .
> Strange my doc is a 7.2.1 documentation and 7.2.3 Package.
> If you change the include file you must rebuild all postgresql .
> you dont have link error ?
> 
> Payman
> 
> >I am running version 7.1.3, installed as an RPM from Red Hat.  According to
> >the documentation for libpq, function PQcmdTuples is declared as
> >'PQcmdTuples(const PGresult*)'.  In my 'libpq-fe.h' include file it is
> >declared as 'PQcmdTuples(PGresult*)' (no const).  Is this an error in the
> >documentation or my include file?  I have changed the include file to match
> >the documentation, and I haven't noticed any negative effects so far.
> >
> >  
> >
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Simple compile question
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgtcl: Change in behavior of pg_result -oid, vs documentation