Michael Wallner
07b495a28a
Revert "back to dev"
...
This reverts commit 775460467d
.
2014-10-17 11:42:36 +02:00
Remi Collet
a9d3f4be3c
fix check for PG constant
2014-10-17 11:04:30 +02:00
Michael Wallner
775460467d
back to dev
2014-10-17 10:58:08 +02:00
Remi Collet
ab8bb315a8
get rid of remaining HAVE_JSON, use PHP_PQ_HAVE_PHP_JSON_H everywhere
2014-10-17 10:27:05 +02:00
Remi Collet
e34b30c4a4
Merge branch 'master' of git.php.net:/pecl/database/pq
...
* 'master' of git.php.net:/pecl/database/pq:
prepare 0.5.2
2014-10-17 10:24:09 +02:00
Michael Wallner
45b6f1d9e8
prepare 0.5.2
2014-10-17 09:55:23 +02:00
Remi Collet
c130785b60
Merge branch 'master' of git.php.net:/pecl/database/pq
...
* 'master' of git.php.net:/pecl/database/pq:
better checks for json support
prepare 0.5.2
2014-10-17 09:16:49 +02:00
Remi Collet
e39a656855
Merge branch 'master' of git.php.net:/pecl/database/pq
...
* 'master' of git.php.net:/pecl/database/pq:
support PostgreSQL down to 9.0; JSON is optional
back to dev
fix pqcur minit and mshutdown
2014-10-17 09:07:10 +02:00
Michael Wallner
da7b5981c5
better checks for json support
2014-10-17 07:34:49 +02:00
Michael Wallner
faed41ad3a
prepare 0.5.2
2014-10-16 17:05:22 +02:00
Michael Wallner
c62ffa9e8c
support PostgreSQL down to 9.0; JSON is optional
2014-10-16 16:50:13 +02:00
Michael Wallner
18db85e4b2
back to dev
2014-10-15 18:47:18 +02:00
Michael Wallner
a7d180348d
fix pqcur minit and mshutdown
2014-10-15 18:44:22 +02:00
Michael Wallner
3fe349a4ac
check for PQconninfo
2014-10-15 18:38:12 +02:00
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