From 1b57b8bfdcce805d00ffe4aef87f91521c03ca9b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 26 Sep 2007 08:45:50 +0000 Subject: [PATCH] Document that libpq's PQntuples() might overflow. --- doc/src/sgml/libpq.sgml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index f98db479cd..7aa142800e 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,4 +1,4 @@ - + <application>libpq</application> - C Library @@ -2092,7 +2092,9 @@ PGresult *PQdescribePortal(PGconn *conn, const char *portalName); - Returns the number of rows (tuples) in the query result. + 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. int PQntuples(const PGresult *res);