Commit 94d5efb
Fix / implement phpGH-15287: add a lazy fetch to Pdo\PgSql
Make Pdo\PgSql accept Pdo::setAttribute(PDO::ATTR_PREFETCH, 0) to enter libpq's single row mode.
This avoids storing the whole result set in memory before being able to call the first fetch().
close phpGH-157501 parent 3b8883c commit 94d5efb
File tree
6 files changed
+361
-2153
lines changed- ext/pdo_pgsql
- tests
6 files changed
+361
-2153
lines changed
0 commit comments