[COMMITTERS] pgsql: Doc: document libpq's restriction to INT_MAX rows in aPGresult.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема [COMMITTERS] pgsql: Doc: document libpq's restriction to INT_MAX rows in aPGresult.
Дата
Msg-id E1dmmLi-000067-Hz@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Doc: document libpq's restriction to INT_MAX rows in a PGresult.

As long as PQntuples, PQgetvalue, etc, use "int" for row numbers, we're
pretty much stuck with this limitation.  The documentation formerly stated
that the result of PQntuples "might overflow on 32-bit operating systems",
which is just nonsense: that's not where the overflow would happen, and
if you did reach an overflow it would not be on a 32-bit machine, because
you'd have OOM'd long since.

Discussion: https://postgr.es/m/CA+FnnTxyLWyjY1goewmJNxC==HQCCF4fKkoCTa9qR36oRAHDPw@mail.gmail.com

Branch
------
REL9_2_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2a82170a56cb5b7c8e8444d2089b15ba6492b102

Modified Files
--------------
doc/src/sgml/libpq.sgml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Teach libpq to detect integer overflow in the row count of aPGr
Следующее
От: pgsql@postgresql.org
Дата:
Сообщение: [COMMITTERS] pgsql: Tag refs/tags/REL9_6_5 was created