forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1e6c362
committed
Doc: document libpq's restriction to INT_MAX rows in a PGresult.
As long as PQntuples, PQgetvalue, etc, use "int" for row numbers, we'repretty much stuck with this limitation. The documentation formerly statedthat the result of PQntuples "might overflow on 32-bit operating systems",which is just nonsense: that's not where the overflow would happen, andif you did reach an overflow it would not be on a 32-bit machine, becauseyou'd have OOM'd long since.Discussion:https://postgr.es/m/CA+FnnTxyLWyjY1goewmJNxC==HQCCF4fKkoCTa9qR36oRAHDPw@mail.gmail.com1 parentd391fb6 commit1e6c362
1 file changed
+4
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2878 | 2878 |
| |
2879 | 2879 |
| |
2880 | 2880 |
| |
2881 |
| - | |
2882 |
| - | |
2883 |
| - | |
| 2881 | + | |
| 2882 | + | |
| 2883 | + | |
| 2884 | + | |
2884 | 2885 |
| |
2885 | 2886 |
| |
2886 | 2887 |
| |
|
0 commit comments
Comments
(0)