pq 0.5.0

PostgreSQL client library (libpq) binding


Documents: https://mdref.m6w6.name/pq

Highlights:
* Nearly complete support for asynchronous usage:
https://mdref.m6w6.name/pq/Connection/%3A%20Asynchronous%20Usage
* Extended type support by pg_type:
https://mdref.m6w6.name/pq/Types/%3A%20Overview
* Fetching simple multi-dimensional array maps:
https://mdref.m6w6.name/pq/Result/map
* Working Gateway implementation:
https://mdref.m6w6.name/pq-gateway

License: BSD-2-Clause

Changes

+ 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