File tree 2 files changed +13
-5
lines changed
2 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,10 @@ PHP NEWS
65
65
the cpu mask argument with entries type different than int/string.
66
66
(David Carlier)
67
67
68
+ - PgSql:
69
+ . Fixed build failure when the constant PGRES_TUPLES_CHUNK is not present
70
+ in the system. (chschneider)
71
+
68
72
- Phar:
69
73
. Fixed bug GH-17518 (offset overflow phar extractTo()). (nielsdos)
70
74
Original file line number Diff line number Diff line change @@ -28,15 +28,19 @@ if test "$PHP_PGSQL" != "no"; then
28
28
[ Define to 1 if libpq has the 'PQsocketPoll' function (PostgreSQL 17 or
29
29
later).] ) ] ,,
30
30
[ $PGSQL_LIBS] )
31
- PHP_CHECK_LIBRARY([ pq] , [ PQsetChunkedRowsMode] ,
32
- [ AC_DEFINE ( [ HAVE_PG_SET_CHUNKED_ROWS_SIZE] , [ 1] ,
33
- [ Define to 1 if libpq has the 'PQsetChunkedRowsMode' function (PostgreSQL
34
- 17 or later).] ) ] ,,
35
- [ $PGSQL_LIBS] )
36
31
37
32
old_CFLAGS=$CFLAGS
38
33
CFLAGS="$CFLAGS $PGSQL_CFLAGS"
39
34
35
+ AC_CHECK_DECLS ( [ PGRES_TUPLES_CHUNK] ,
36
+ PHP_CHECK_LIBRARY ( [ pq] , [ PQsetChunkedRowsMode] ,
37
+ [ AC_DEFINE ( [ HAVE_PG_SET_CHUNKED_ROWS_SIZE] , [ 1] ,
38
+ [ Define to 1 if libpq has the 'PQsetChunkedRowsMode' function (PostgreSQL
39
+ 17 or later).] ) ] ,,
40
+ [ $PGSQL_LIBS] ) ,,
41
+ [ #include <libpq-fe.h>]
42
+ )
43
+
40
44
dnl Available since PostgreSQL 12.
41
45
AC_CACHE_CHECK ( [ if PGVerbosity enum has PQERRORS_SQLSTATE] ,
42
46
[ php_cv_enum_pgverbosity_pqerrors_sqlstate] ,
You can’t perform that action at this time.
0 commit comments