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 84590a0a6fa..7a90cb09a9b 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -3061,9 +3061,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); |