]> granicus.if.org Git - php/commitdiff
Updated UPGRADING to cover PDO_pgsql changes
authorMatteo Beccati <mbeccati@php.net>
Wed, 12 Mar 2014 11:31:04 +0000 (12:31 +0100)
committerMatteo Beccati <mbeccati@php.net>
Wed, 12 Mar 2014 11:31:04 +0000 (12:31 +0100)
UPGRADING

index 4c05ee4391072b1d5b1752e340b06d29adf6a311..9cfc0a642d3f520ef2bb4ed23022e02ecc6b310e 100755 (executable)
--- a/UPGRADING
+++ b/UPGRADING
@@ -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.