From: Bruce Momjian Date: Wed, 26 Sep 2007 08:45:50 +0000 (+0000) Subject: Document that libpq's PQntuples() might overflow. X-Git-Tag: REL8_3_BETA1~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b57b8bfdcce805d00ffe4aef87f91521c03ca9b;p=postgresql Document that libpq's PQntuples() might overflow. --- 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);