Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 627730f

Browse files
committed
Update PQntuples now returns rows affected.
1 parent 7cd15c4 commit 627730f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/man/libpq.3

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" This is -*-nroff-*-
22
.\" XXX standard disclaimer belongs here....
3-
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.4 1996/12/11 00:27:53 momjian Exp $
3+
.\" $Header: /cvsroot/pgsql/src/man/Attic/libpq.3,v 1.5 1997/10/01 18:14:53 momjian Exp $
44
.TH LIBPQ INTRO 03/12/94 PostgreSQL PostgreSQL
55
.SH DESCRIPTION
66
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.
201201
.IP
202202

203203
.B PQntuples
204-
returns the number of tuples (instances) in the query result.
204+
returns the number of tuples (instances) in the query result, or the
205+
number of rows affected for queries that do not return a tuples.
206+
205207
.nf
206208
int PQntuples(PGresult *res);
207209
.fi

0 commit comments

Comments
 (0)