1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-12-12 09:29:37 +01:00
Commit Graph

284 Commits

Author SHA1 Message Date
Michael Wallner
af939d7efa prepare 0.5 2014-10-15 17:57:15 +02:00
Michael Wallner
80ad126795 fixup 2014-10-15 17:56:18 +02:00
Michael Wallner
a840b29b5f add pq\Connection::$params 2014-10-15 17:48:34 +02:00
Michael Wallner
5c49abda19 update from docs 2014-10-06 12:14:02 +02:00
Michael Wallner
d662d7beb2 pq\Cursor::__construct 2014-10-06 12:13:29 +02:00
Michael Wallner
19011ee23e fix parameter separation 2014-10-01 15:54:03 +02:00
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