Skip to content
Snippets Groups Projects
Commit 88f528c3 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Update libpq PQcmdTuples() and PQcmdStatus() docs, remove const param

doc mention to match code and include files.
parent 02608cbc
No related branches found
No related tags found
No related merge requests found
<!-- <!--
$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"> <chapter id="libpq">
...@@ -1210,7 +1210,7 @@ function is no longer actively supported. ...@@ -1210,7 +1210,7 @@ function is no longer actively supported.
Returns the command status string from the SQL command that Returns the command status string from the SQL command that
generated the <structname>PGresult</structname>. generated the <structname>PGresult</structname>.
<synopsis> <synopsis>
char * PQcmdStatus(const PGresult *res); char * PQcmdStatus(PGresult *res);
</synopsis> </synopsis>
</para> </para>
</listitem> </listitem>
...@@ -1220,7 +1220,7 @@ char * PQcmdStatus(const PGresult *res); ...@@ -1220,7 +1220,7 @@ char * PQcmdStatus(const PGresult *res);
<function>PQcmdTuples</function> <function>PQcmdTuples</function>
Returns the number of rows affected by the SQL command. Returns the number of rows affected by the SQL command.
<synopsis> <synopsis>
char * PQcmdTuples(const PGresult *res); char * PQcmdTuples(PGresult *res);
</synopsis> </synopsis>
If the <acronym>SQL</acronym> command that generated the If the <acronym>SQL</acronym> command that generated the
<structname>PGresult</structname> was INSERT, UPDATE or DELETE, this returns a <structname>PGresult</structname> was INSERT, UPDATE or DELETE, this returns a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment