[php-src] PR #14628: Bump minimum libpq version to 10.0
| From: | petk | Date: | Fri, 21 Jun 2024 18:50:30 +0000 |
| Subject: | [php-src] PR #14628: Bump minimum libpq version to 10.0 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26760@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14628
Author: petk
This bumps the libpq client-side PostgreSQL library minimum required version from 9.1 to 10.0.
- Sanity check: PQlibVersion -> PQencryptPasswordConn (available since libpq 10.0)
- PQsetErrorContextVisibility (available since libpq 9.6)
- lo_truncate64 (available since libpq 9.3), if 32-bit system doesn't support lo_*64 functions,
error is returned and functions are always available
Additionally, the conditional functions usages in pdo_pgsql and pgsql extensions that got piled up
are cleaned and synced:
- pg_prepare (PQprepare available since libpq 7.4)
- pg_query_params (PQexecParams available since libpq 7.4)
- pg_result_error_field (PQresultErrorField available since libpq 7.4)
- pg_send_prepare (PQsendPrepare available since libpq 7.4)
- pg_send_query_params (PQsendQueryParams available since libpq 7.4)
- pg_set_error_verbosity (PQsetErrorVerbosity available since libpq 7.4)
- pg_transaction_status (PQtransactionStatus available since libpq 7.4)
The Windows libpq version updated to current 11.4 available at https://github.com/winlibs/postgresql
Discussion: https://news-web.php.net/php.internals/123609
Follow-up of GH-14540