diff options
author | Matteo Beccati <mbeccati@php.net> | 2014-03-12 12:31:04 +0100 |
---|---|---|
committer | Matteo Beccati <mbeccati@php.net> | 2014-03-12 12:31:04 +0100 |
commit | f0da85b4923d9a4c48d75f76bf78728aae18e2a3 (patch) | |
tree | e9741762b0e30247ab528637505d93d8cb90aca3 | |
parent | 1241a63931069cf061bd74c9594c9a960c382fa6 (diff) | |
download | php-git-f0da85b4923d9a4c48d75f76bf78728aae18e2a3.tar.gz |
Updated UPGRADING to cover PDO_pgsql changes
-rwxr-xr-x | UPGRADING | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -152,6 +152,9 @@ PHP 5.6 UPGRADE NOTES are specified "CN_match" takes precedence. Otherwise, the two options are interchangeable. +- Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT, an + undocument constant effectively equivalent to PDO::ATTR_EMULATE_PREPARES. + ======================================== 4. Changed Functions ======================================== @@ -195,6 +198,10 @@ PHP 5.6 UPGRADE NOTES Added ldap_modify_batch($link_identifier, $dn, $modifications) described in https://wiki.php.net/rfc/ldap_modify_batch. +- PDO_pgsql + Added PDO::pgsqlGetNotify($result_type = PDO::FETCH_USE_DEFAULT, $ms_timeout = 0) + Added PDO::pgsqlGetPid() + - Zip: Added ZipArchive::setPassword($password) @@ -250,6 +257,13 @@ PHP 5.6 UPGRADE NOTES - Added extended flag parameter for pg_meta_data(). pg_meta_data() always returns "is enum" attribute. +- PDO_pgsql: + - Added PDO::PGSQL_ATTR_DISABLE_PREPARES constant to execute the queries + without preparing them, while still passing parameters separately from + the command text using PQexecParams. + - Added LISTEN/NOTIFY support via PDO::pgsqlGetNotify / PDO::pgsqlGetPid() + as described in https://bugs.php.net/bug.php?id=42614. + ======================================== 9. New Global Constants ======================================== @@ -296,6 +310,11 @@ PHP 5.6 UPGRADE NOTES HTTP 1.1 requests now include a Connection: close header unless explicitly overridden by setting a Connection header via the header context option. +- PDO_pgsql + A libpq version providing PQexecParams, PQprepare, PQescapeStringConn, + PQescapeByteaConn is now required. According to the release notes that means + 8.0.8+ or 8.1.4+. + - Zip: New --with-libzip option allow to use system libzip. Version > 0.11 required, Version >= 0.11.2 recommended for all features. |