Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 20055475F32 for ; Tue, 5 Nov 2002 11:52:50 -0500 (EST) Received: from c3p0.ou.edu (unknown [129.15.0.75]) by postgresql.org (Postfix) with ESMTP id 747F5475F1A for ; Tue, 5 Nov 2002 11:52:49 -0500 (EST) Received: from malibu ([129.15.194.111]) by c3p0.ou.edu (iPlanet Messaging Server 5.2 HotFix 0.9 (built Jul 29 2002)) with SMTP id <0H5400BR44411G@c3p0.ou.edu> for pgsql-interfaces@postgresql.org; Tue, 05 Nov 2002 10:50:25 -0600 (CST) Date: Tue, 05 Nov 2002 10:54:11 -0600 From: Michael Klatt Subject: PQcmdTuples() declaration To: pgsql-interfaces@postgresql.org Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/12 X-Sequence-Number: 3260 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."