From 627730fa47f8361d5ae387fc93ffb329fb6c40e2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 1 Oct 1997 18:14:53 +0000 Subject: [PATCH] Update PQntuples now returns rows affected. --- src/man/libpq.3 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/man/libpq.3 b/src/man/libpq.3 index 0eb77dd1cf..2e4491df82 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 -- 2.11.0