diff options
author | Bruce Momjian | 2007-09-26 08:45:50 +0000 |
---|---|---|
committer | Bruce Momjian | 2007-09-26 08:45:50 +0000 |
commit | 1b57b8bfdcce805d00ffe4aef87f91521c03ca9b (patch) | |
tree | 9dc109310792ec9653514226d08ce39600de3652 /doc/src | |
parent | 6f21c57a975acdc600c22f16521f2f6a3847e83d (diff) |
Document that libpq's PQntuples() might overflow.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index f98db479cd0..7aa142800e7 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,4 +1,4 @@ -<!-- $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"> <title><application>libpq</application> - C Library</title> @@ -2092,7 +2092,9 @@ PGresult *PQdescribePortal(PGconn *conn, const char *portalName); <listitem> <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> int PQntuples(const PGresult *res); |