diff options
-rw-r--r-- | doc/src/sgml/libpq.sgml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 9ec291d5c4c..f23ecbe4c48 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -2871,9 +2871,10 @@ void PQclear(PGresult *res); <listitem> <para> - Returns the number of rows (tuples) in the query result. Because - it returns an integer result, large result sets might overflow the - return value on 32-bit operating systems. + Returns the number of rows (tuples) in the query result. + (Note that <structname>PGresult</> objects are limited to no more + than <literal>INT_MAX</> rows, so an <type>int</> result is + sufficient.) <synopsis> int PQntuples(const PGresult *res); |