<!--
-$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">
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>
<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