Skip to content

Commit 9181959

Browse files
committed
tuples as chunk only available since pgsql 17
1 parent 0706792 commit 9181959

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ext/pgsql/pgsql.stub.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,13 @@
245245
* @cvalue PGRES_TUPLES_OK
246246
*/
247247
const PGSQL_TUPLES_OK = UNKNOWN;
248+
#ifdef HAVE_PG_SET_CHUNKED_ROWS_MODE
248249
/**
249250
* @var int
250251
* @cvalue PGRES_TUPLES_CHUNK
251252
*/
252253
const PGSQL_TUPLES_CHUNK = UNKNOWN;
254+
#endif
253255
/**
254256
* @var int
255257
* @cvalue PGRES_COPY_OUT

ext/pgsql/pgsql_arginfo.h

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)