aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-10-01 18:14:53 +0000
committerBruce Momjian <bruce@momjian.us>1997-10-01 18:14:53 +0000
commit627730fa47f8361d5ae387fc93ffb329fb6c40e2 (patch)
treeda5e7e8c75ea68cb11caabfcfd68aaece351e048 /src
parent7cd15c47d8d5cfb35c8eaf5e7098648bb6b3ac59 (diff)
downloadpostgresql-627730fa47f8361d5ae387fc93ffb329fb6c40e2.tar.gz
postgresql-627730fa47f8361d5ae387fc93ffb329fb6c40e2.zip
Update PQntuples now returns rows affected.
Diffstat (limited to 'src')
-rw-r--r--src/man/libpq.36
1 files changed, 4 insertions, 2 deletions
diff --git a/src/man/libpq.3 b/src/man/libpq.3
index 0eb77dd1cf2..2e4491df826 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.4 1996/12/11 00:27:53 momjian Exp $
+.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.5 1997/10/01 18:14:53 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,7 +201,9 @@ be used to retrieve the tuples returned by the query.
.IP
.B PQntuples
-returns the number of tuples (instances) in the query result.
+returns the number of tuples (instances) in the query result, or the
+number of rows affected for queries that do not return a tuples.
+
.nf
int PQntuples(PGresult *res);
.fi