OSDN Git Service

Update PQntuples now returns rows affected.
authorBruce Momjian <bruce@momjian.us>
Wed, 1 Oct 1997 18:14:53 +0000 (18:14 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 1 Oct 1997 18:14:53 +0000 (18:14 +0000)
src/man/libpq.3

index 0eb77dd..2e4491d 100644 (file)
@@ -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