aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-10-17 02:11:49 +0000
committerBruce Momjian <bruce@momjian.us>1997-10-17 02:11:49 +0000
commitb268758a3b446fd34a826f122ec7d73a911aa11e (patch)
treed1707db9e791e240e006f5abaca5fc087740a263 /src
parented966c4617155f39fee3489199cca314cb01f34c (diff)
downloadpostgresql-b268758a3b446fd34a826f122ec7d73a911aa11e.tar.gz
postgresql-b268758a3b446fd34a826f122ec7d73a911aa11e.zip
New function PQcmdTuples.
Diffstat (limited to 'src')
-rw-r--r--src/man/libpq.313
1 files changed, 10 insertions, 3 deletions
diff --git a/src/man/libpq.3 b/src/man/libpq.3
index 94c00ae3faf..785fecc6d41 100644
--- a/src/man/libpq.3
+++ b/src/man/libpq.3
@@ -1,6 +1,6 @@
.\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here....
-.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.6 1997/10/16 04:14:19 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.7 1997/10/17 02:11:49 momjian Exp $
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
.SH DESCRIPTION
Libpq is the programmer's interface to Postgres. Libpq is a set of
@@ -201,13 +201,20 @@ be used to retrieve the tuples returned by the query.
.IP
.B PQntuples
-returns the number of tuples (instances) in the query result, or the
-number of rows affected for queries that do not return any tuples.
+returns the number of tuples (instances) in the query result.
.nf
int PQntuples(PGresult *res);
.fi
+.B PQcmdTuples
+returns the number of tuples (instances) affected by INSERT, UPDATE, and
+DELETE queries.
+
+.nf
+char *PQcmdTuples(PGresult *res);
+.fi
+
.B PQnfields
returns the number of fields (attributes) in the query result.
.nf