Commit 1b57b8bf authored by Bruce Momjian's avatar Bruce Momjian

Document that libpq's PQntuples() might overflow.

parent 6f21c57a
<!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.245 2007/09/14 14:54:25 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.246 2007/09/26 08:45:50 momjian Exp $ -->
<chapter id="libpq"> <chapter id="libpq">
<title><application>libpq</application> - C Library</title> <title><application>libpq</application> - C Library</title>
...@@ -2092,7 +2092,9 @@ PGresult *PQdescribePortal(PGconn *conn, const char *portalName); ...@@ -2092,7 +2092,9 @@ PGresult *PQdescribePortal(PGconn *conn, const char *portalName);
<listitem> <listitem>
<para> <para>
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.
<synopsis> <synopsis>
int PQntuples(const PGresult *res); int PQntuples(const PGresult *res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment