[ANNOUNCEMENT] pq-0.5.0 (beta) Released.
| From: | PECL Announce | Date: | Wed, 15 Oct 2014 16:00:07 +0000 |
| Subject: | [ANNOUNCEMENT] pq-0.5.0 (beta) Released. | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-12339@lists.php.net to get a copy of this message | ||
The new PECL package pq-0.5.0 (beta) has been released at http://pecl.php.net/.
Release notes
-------------
+ Published documentation at http://devel-m6w6.rhcloud.com/mdref/pq
+ Added pq\Connection::$params
+ Added pq\Connection::declare(), pq\Connection::declareAsync() and pq\Cursor
+ Added pq\Connection::unlisten() and pq\Connection::off()
+ Added pq\Connection::$defaultFetchType, pq\Connection::$defaultTransactionIsolation,
pq\Connection::$defaultTransactionReadonly and pq\Connection::$defaultTransactionDeferrable
+ Added pq\Connection::$defaultAutoConvert and pq\Result::$autoConvert
+ Added pq\Result::CONV_BOOL, pq\Result::CONV_INT, pq\Result::CONV_FLOAT, pq\Result::CONV_SCALAR,
pq\Result::CONV_ARRAY, pq\Result::CONV_DATETIME, pq\Result::CONV_JSON and pq\Result::CONV_ALL
+ Always declare pq\Types OID constants
+ Added pq\Result::fetchAllCols()
- Reverse arguments of pq\Result::fetchCol()
- Attempt to access properties of objects that have not been initialized by its constructor will
throw E_RECOVERABLE_ERROR
- Renamed pq\ConverterInterface to pq\Converter
- Added second argument "$type" to pq\Converter::convertFromString() and
pq\Converter::convertToString()
* Fixed wakeup of persistent connections to ping the server with an empty query and eventually reset
the connection
* Fixed possible invalid free and leak
* Fixed a possible crash
Package Info
-------------
Documents: http://devel-m6w6.rhcloud.com/mdref/pq
Highlights:
* Nearly complete support for asynchronous usage:
http://devel-m6w6.rhcloud.com/mdref/pq/Connection/%3A%20Asynchronous%20Usage
* Extended type support by pg_type:
http:/devel-m6w6.rhcloud.com/mdref/pq/Types/%3A%20Overview
* Fetching simple multi-dimensional array maps:
http:/devel-m6w6.rhcloud.com/mdref/pq/Result/map
* Working Gateway implementation:
https://http://devel-m6w6.rhcloud.com/mdref/pq-gateway
Related Links
-------------
Package home: http://pecl.php.net/package/pq
Changelog: http://pecl.php.net/package-changelog.php?package=pq
Download: http://pecl.php.net/get/pq-0.5.0.tgz
Authors
-------------
Michael Wallner <mike@php.net> (lead)