refactor auto conversion
authorMichael Wallner <mike@php.net>
Fri, 12 Sep 2014 14:42:03 +0000 (16:42 +0200)
committerMichael Wallner <mike@php.net>
Fri, 12 Sep 2014 14:42:03 +0000 (16:42 +0200)
commit359b3471d6ed843d8ecf9d5fb0b85f06af446800
tree6993344514b2d99cb5dd38dca7c1b643946ba860
parent218002ba9087cf49f90e5f098f68a154d6092c78
refactor auto conversion

add default connection property, for pq\Result->$autoConvert:
pq\Connection->$defaultAutoConvert

add autp conversion constants:
* pq\Result::CONV_BOOL
* pq\Result::CONV_INT
* pq\Result::CONV_FLOAT
* pq\Result::CONV_SCALAR (includes all previous)
* pq\Result::CONV_ARRAY
* pq\Result::CONV_DATETIME
* pq\Result::CONV_ALL (includes all, default)
config.m4
package.xml
src/php_pq_misc.h
src/php_pq_params.c
src/php_pqconn.c
src/php_pqconn.h
src/php_pqres.c
src/php_pqres.h
src/php_pqtypes.c