Skip to content

Commit 80ae7f7

Browse files
authored
Update pgsql extensions preprocessor macros help texts (#15290)
[skip ci]
1 parent c68b43c commit 80ae7f7

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

ext/pdo_pgsql/config.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ if test "$PHP_PDO_PGSQL" != "no"; then
1818
[Define to 1 if the PHP extension 'pdo_pgsql' is available.])
1919

2020
PHP_CHECK_LIBRARY([pq], [PQresultMemorySize],
21-
[AC_DEFINE([HAVE_PG_RESULT_MEMORY_SIZE], [1], [PostgreSQL 12 or later])],,
21+
[AC_DEFINE([HAVE_PG_RESULT_MEMORY_SIZE], [1],
22+
[Define to 1 if libpq has the 'PQresultMemorySize' function (PostgreSQL 12
23+
or later).])],,
2224
[$PGSQL_LIBS])
2325

2426
PHP_CHECK_PDO_INCLUDES

ext/pgsql/config.m4

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,24 @@ if test "$PHP_PGSQL" != "no"; then
1414
[Define to 1 if the PHP extension 'pgsql' is available.])
1515

1616
PHP_CHECK_LIBRARY([pq], [PQresultMemorySize],
17-
[AC_DEFINE([HAVE_PG_RESULT_MEMORY_SIZE], [1], [PostgreSQL 12 or later])],,
17+
[AC_DEFINE([HAVE_PG_RESULT_MEMORY_SIZE], [1],
18+
[Define to 1 if libpq has the 'PQresultMemorySize' function (PostgreSQL 12
19+
or later).])],,
1820
[$PGSQL_LIBS])
1921
PHP_CHECK_LIBRARY([pq], [PQchangePassword],
20-
[AC_DEFINE([HAVE_PG_CHANGE_PASSWORD], [1], [PostgreSQL 17 or later])],,
22+
[AC_DEFINE([HAVE_PG_CHANGE_PASSWORD], [1],
23+
[Define to 1 if libpq has the 'PQchangePassword' function (PostgreSQL 17
24+
or later).])],,
2125
[$PGSQL_LIBS])
2226
PHP_CHECK_LIBRARY([pq], [PQsocketPoll],
23-
[AC_DEFINE([HAVE_PG_SOCKET_POLL], [1], [PostgreSQL 17 or later])],,
27+
[AC_DEFINE([HAVE_PG_SOCKET_POLL], [1],
28+
[Define to 1 if libpq has the 'PQsocketPoll' function (PostgreSQL 17 or
29+
later).])],,
2430
[$PGSQL_LIBS])
2531
PHP_CHECK_LIBRARY([pq], [PQsetChunkedRowsMode],
26-
[AC_DEFINE([HAVE_PG_SET_CHUNKED_ROWS_SIZE], [1], [PostgreSQL 17 or later])],,
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).])],,
2735
[$PGSQL_LIBS])
2836

2937
old_CFLAGS=$CFLAGS

0 commit comments

Comments
 (0)