Commit 627730fa authored by Bruce Momjian's avatar Bruce Momjian

Update PQntuples now returns rows affected.

parent 7cd15c47
.\" 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment