OSDN Git Service

Update libpq PQcmdTuples() and PQcmdStatus() docs, remove const param
authorBruce Momjian <bruce@momjian.us>
Fri, 8 Nov 2002 05:03:11 +0000 (05:03 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 8 Nov 2002 05:03:11 +0000 (05:03 +0000)
doc mention to match code and include files.

doc/src/sgml/libpq.sgml

index 6a05567..d805b31 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.98 2002/11/03 01:30:46 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.99 2002/11/08 05:03:11 momjian Exp $
 -->
 
  <chapter id="libpq">
@@ -1210,7 +1210,7 @@ function is no longer actively supported.
           Returns the command status string from the SQL command that
          generated the <structname>PGresult</structname>.
 <synopsis>
-char * PQcmdStatus(const PGresult *res);
+char * PQcmdStatus(PGresult *res);
 </synopsis>
 </para>
 </listitem>
@@ -1220,7 +1220,7 @@ char * PQcmdStatus(const PGresult *res);
 <function>PQcmdTuples</function>
          Returns the number of rows affected by the SQL command.
 <synopsis>
-char * PQcmdTuples(const PGresult *res);
+char * PQcmdTuples(PGresult *res);
 </synopsis>
           If the <acronym>SQL</acronym> command that generated the
          <structname>PGresult</structname> was INSERT, UPDATE or DELETE, this returns a