Michael Wallner
f1cfd1b474
fix ZTS
2014-09-30 20:45:19 +02:00
Michael Wallner
6ff6d5c9b7
no need for the dafult option
2014-09-30 20:44:57 +02:00
Michael Wallner
16f45efdd0
fix test
2014-09-30 20:44:46 +02:00
Michael Wallner
f26b00a20f
fix test
2014-09-30 20:44:30 +02:00
Michael Wallner
7509bb626b
no need to skip one version :)
2014-09-30 15:00:13 +02:00
Michael Wallner
3529816bab
administrativa
2014-09-30 14:58:22 +02:00
Michael Wallner
7acdd4b540
update from docs
2014-09-30 14:53:13 +02:00
Michael Wallner
420e6ed4b6
convert zend_hash_apply_with_argument(s)
...
use zend_hash_apply_with_argument instead of
zend_hash_apply_with_arguments where no key is needed
2014-09-26 20:03:23 +02:00
Michael Wallner
94be2af750
update from docs
2014-09-26 15:05:40 +02:00
Michael Wallner
753359f19c
update from docs
2014-09-25 14:04:35 +02:00
Michael Wallner
9ba862160c
more internal conversions
2014-09-17 14:13:53 +02:00
Michael Wallner
304d6154ba
fix test
2014-09-17 09:39:42 +02:00
Michael Wallner
06375d5307
typo
2014-09-17 09:35:47 +02:00
Michael Wallner
d96d8d4af0
guard against uninitialized property write, too
...
use php_error with E_RECOVERABLE_ERROR
2014-09-17 09:23:45 +02:00
Michael Wallner
1c52f7b4a5
reverse arguments of pq\Result::fetchCol()
2014-09-17 09:17:13 +02:00
Michael Wallner
7e4e6bb2b9
fix bitmask
2014-09-16 20:13:29 +02:00
Michael Wallner
66a1a0a14a
make arg to fetchAllCols optional
2014-09-15 13:22:20 +02:00
Michael Wallner
dd52670ccf
fix raphf dep
2014-09-15 09:46:07 +02:00
Michael Wallner
5a8f03175f
fiy double slash
2014-09-15 09:46:00 +02:00
Michael Wallner
debf050947
bitbucket issue #7 : pq\Result::fetchAllCols(col_idx_or_name)
2014-09-15 09:45:52 +02:00
Michael Wallner
6dc0521ba8
ping server and eventually reset conn on wakeup
2014-09-13 08:56:29 +02:00
Michael Wallner
280761d6fe
fix package.xml
2014-09-12 16:57:42 +02:00
Michael Wallner
344e81d34f
php_pq_type.h
2014-09-12 16:55:25 +02:00
Michael Wallner
dde388e274
update tests
2014-09-12 16:52:39 +02:00
Michael Wallner
359b3471d6
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)
2014-09-12 16:42:03 +02:00
Michael Wallner
218002ba90
refactor type conversion
2014-09-12 14:39:06 +02:00
Michael Wallner
d613997b30
add default propoerties to connection
...
For pq\Result:
pq\Connection->$defaultFetchType
For pq\Transaction:
pq\Connection->$defaultTransactionIsolation
pq\Connection->$defaultTransactionReadonly
pq\Connection->$defaultTransactionDeferrable
2014-09-12 10:52:18 +02:00
Michael Wallner
2805a4d1f8
avoid adding a ref to the object of the iterator actually living inside
...
that object
2014-09-12 07:25:24 +02:00
Michael Wallner
a04c771813
fix possible invalid free and a leak
2014-09-11 16:41:18 +02:00
Michael Wallner
6e672843c6
fix test
2014-09-11 16:40:46 +02:00
Michael Wallner
0a542746ba
fix --without-pq-postgresql
2014-09-11 16:39:57 +02:00
Michael Wallner
6bc532fef1
administrativa
2014-09-11 15:29:48 +02:00
Michael Wallner
a1dd22ffd4
fix bitbucket issue #2
2014-09-11 15:29:36 +02:00
Michael Wallner
c5e31d5d4f
unregister eventhandler
2014-07-14 18:21:46 +02:00
Michael Wallner
7e633cc0dd
unlisten support
2014-07-14 18:02:57 +02:00
Michael Wallner
85d42a9baa
use php_pq_callback_recurse
2014-07-14 13:28:47 +02:00
Michael Wallner
c48a4a7f5d
fix test for newer internal datetime format
2014-07-14 13:28:30 +02:00
Michael Wallner
bf2e263195
zts and 5.6 fixes
2014-05-23 11:29:30 +02:00
Michael Wallner
9255d2d54b
add cursor support
2014-04-04 15:50:42 +02:00
Michael Wallner
316c62ff10
fix test for 9.3+
2014-04-04 15:49:45 +02:00
Anatol Belski
a4c00b0761
fix version macros name
2013-10-15 17:32:59 +02:00
Michael Wallner
3f5dbab5c1
r0.4.0
2013-05-15 08:12:33 +02:00
Michael Wallner
569c22fcb5
test Statement::bind()
2013-05-14 14:41:15 +02:00
Michael Wallner
a4dced008a
fix Statement::descAsync; add Result::desc()
2013-05-14 14:30:53 +02:00
Michael Wallner
de42b70bed
version
2013-05-14 13:56:36 +02:00
Michael Wallner
ec79f18c30
typo
2013-05-14 13:56:26 +02:00
Michael Wallner
0bce4e6693
moar tests
2013-05-14 13:50:22 +02:00
Michael Wallner
63e95273b8
always provide a property zval
2013-05-14 13:12:44 +02:00
Michael Wallner
88440266c0
type converters
2013-05-14 13:09:23 +02:00
Michael Wallner
ee121d2b99
add simple array param serialization
2013-05-12 10:14:12 +02:00