| From: | Michael Klatt <mdklatt(at)ou(dot)edu> |
|---|---|
| To: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | PQcmdTuples() declaration |
| Date: | 2002-11-05 16:54:11 |
| Message-ID: | NCBBLFLGLEIDHCJLONHNKEDGFJAA.mdklatt@ou.edu |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
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.
___________________________________
Michael Klatt
University of Oklahoma
Environmental Verification and Analysis Center
3200 Marshall Avenue, Suite 110
Norman, OK 73072-8032
405.447.8412
405.447.8455 FAX
http://www.evac.ou.edu/
"It's easy to be virtuous when you can't afford the vice."
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Stephen Whinston | 2002-11-06 21:42:54 | Simple compile question |
| Previous Message | Iavor Raytchev | 2002-11-05 08:03:00 | Re: information |