Re: [GENERAL] Retrieving query results

Laurenz Albe <laurenz.albe@cybertec.at>

From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Igor Korot <ikorot01@gmail.com>, Michael Paquier <michael.paquier@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-general <pgsql-general@postgresql.org>
Date: 2025-12-17T08:38:43Z
Lists: pgsql-general
On Tue, 2025-12-16 at 21:26 -0800, Igor Korot wrote:
> Is this now part of the main libpq codebase?

Yes; you can find [1] and [2] in the commit log.

Yours,
Laurenz Albe


 [1]: https://postgr.es/c/2e70d6b5e99b7e7b53336b1838f869bbea1b5024
 [2]: https://postgr.es/c/6cbee65eee20c144bb4de169c6802f20e76785b0



Commits

  1. Doc: document libpq's restriction to INT_MAX rows in a PGresult.

  2. Teach libpq to detect integer overflow in the row count of a PGresult.