m6w6/ext-pq
8 years agoprepare 0.6.0RC1
Michael Wallner [Fri, 29 May 2015 07:56:09 +0000 (09:56 +0200)] 
prepare 0.6.0RC1

8 years agobump cursor prophandler count
Michael Wallner [Fri, 29 May 2015 07:50:13 +0000 (09:50 +0200)] 
bump cursor prophandler count

8 years agofix build
Michael Wallner [Fri, 29 May 2015 07:47:41 +0000 (09:47 +0200)] 
fix build

8 years agoMerge branch 'feature/cursor-async' of https://github.com/DaveRandom/pecl-database-pq
Michael Wallner [Fri, 29 May 2015 07:44:10 +0000 (09:44 +0200)] 
Merge branch 'feature/cursor-async' of https://github.com/DaveRandom/pecl-database-pq

8 years agoFixed array parser compatibility with arrays of boxes
Michael Wallner [Fri, 22 May 2015 10:31:21 +0000 (12:31 +0200)] 
Fixed array parser compatibility with arrays of boxes

8 years agothat never landed in an official release
Michael Wallner [Thu, 21 May 2015 13:17:57 +0000 (15:17 +0200)] 
that never landed in an official release

8 years agoSTATUS => ZEND_RESULT_CODE
Michael Wallner [Thu, 12 Mar 2015 10:04:09 +0000 (11:04 +0100)] 
STATUS => ZEND_RESULT_CODE

8 years agofix reflection arginfo
Michael Wallner [Wed, 6 May 2015 10:28:11 +0000 (12:28 +0200)] 
fix reflection arginfo

9 years agomissed the source header
Michael Wallner [Wed, 17 Dec 2014 10:34:59 +0000 (11:34 +0100)] 
missed the source header

9 years agoadministrativa
Michael Wallner [Wed, 17 Dec 2014 10:31:54 +0000 (11:31 +0100)] 
administrativa

9 years agosimplify
Michael Wallner [Wed, 17 Dec 2014 07:39:12 +0000 (08:39 +0100)] 
simplify

9 years agofix leak; fix test
Michael Wallner [Wed, 17 Dec 2014 07:38:31 +0000 (08:38 +0100)] 
fix leak; fix test

9 years agoadd missing tests
Michael Wallner [Fri, 5 Dec 2014 11:17:37 +0000 (12:17 +0100)] 
add missing tests

9 years agoImprove Travis setup
Chris Wright [Tue, 16 Dec 2014 15:35:46 +0000 (15:35 +0000)] 
Improve Travis setup

9 years agoTest props with Connection::prepare() as well as Statement ctor
Chris Wright [Mon, 15 Dec 2014 16:19:59 +0000 (16:19 +0000)] 
Test props with Connection::prepare() as well as Statement ctor

9 years agoAdd Cursor::$query property
Chris Wright [Fri, 12 Dec 2014 15:12:31 +0000 (15:12 +0000)] 
Add Cursor::$query property

9 years agoAdd Cursor::$flags property
Chris Wright [Sun, 7 Dec 2014 23:55:41 +0000 (23:55 +0000)] 
Add Cursor::$flags property

9 years agoAdd Cursor::closeAsync()
Chris Wright [Thu, 4 Dec 2014 18:06:18 +0000 (18:06 +0000)] 
Add Cursor::closeAsync()

9 years agoAdd Cursor::openAsync()
Chris Wright [Thu, 4 Dec 2014 12:01:03 +0000 (12:01 +0000)] 
Add Cursor::openAsync()

9 years agoMake declare string template match generated string
Chris Wright [Wed, 3 Dec 2014 16:18:28 +0000 (16:18 +0000)] 
Make declare string template match generated string

9 years agoMerge branch 'meta/travis'
Chris Wright [Mon, 15 Dec 2014 12:38:54 +0000 (12:38 +0000)] 
Merge branch 'meta/travis'

* meta/travis:
  Add README.md for github
  Add travis config
  Ensure server will report notices when test expects them
  Build improvements

9 years agoAdd README.md for github
Chris Wright [Sun, 14 Dec 2014 15:24:11 +0000 (15:24 +0000)] 
Add README.md for github

9 years agoAdd travis config
Chris Wright [Sun, 14 Dec 2014 14:37:43 +0000 (14:37 +0000)] 
Add travis config

9 years agoEnsure server will report notices when test expects them
Chris Wright [Sun, 14 Dec 2014 14:37:03 +0000 (14:37 +0000)] 
Ensure server will report notices when test expects them

9 years agoBuild improvements
Chris Wright [Sun, 14 Dec 2014 14:33:42 +0000 (14:33 +0000)] 
Build improvements

- Allow direct path to headers directory to be specified
- Add apt-get install location to default search path

9 years agoAdd missing TSRMLS
Chris Wright [Sun, 14 Dec 2014 02:51:08 +0000 (02:51 +0000)] 
Add missing TSRMLS

9 years agoMerge branch 'feature/async-stmt-deallocate'
Chris Wright [Fri, 12 Dec 2014 13:59:27 +0000 (13:59 +0000)] 
Merge branch 'feature/async-stmt-deallocate'

* feature/async-stmt-deallocate:
  Add $query and $types properties to Statement
  Add deallocate() and prepare() to Statement

9 years agoAdd $query and $types properties to Statement
Chris Wright [Fri, 12 Dec 2014 00:18:50 +0000 (00:18 +0000)] 
Add $query and $types properties to Statement

9 years agoAdd deallocate() and prepare() to Statement
Chris Wright [Mon, 8 Dec 2014 01:40:05 +0000 (01:40 +0000)] 
Add deallocate() and prepare() to Statement

Also adds async variants

9 years agoMerge remote-tracking branch 'DaveRandom/fix/txn-async-open'
Michael Wallner [Wed, 3 Dec 2014 10:07:31 +0000 (11:07 +0100)] 
Merge remote-tracking branch 'DaveRandom/fix/txn-async-open'

* DaveRandom/fix/txn-async-open:
  Mark transaction as open when started async

9 years agofix NULL deref with circular refs
Michael Wallner [Wed, 3 Dec 2014 10:04:55 +0000 (11:04 +0100)] 
fix NULL deref with circular refs

9 years agoMark transaction as open when started async
Chris Wright [Thu, 27 Nov 2014 16:18:47 +0000 (16:18 +0000)] 
Mark transaction as open when started async

9 years agoadd tests
Michael Wallner [Tue, 25 Nov 2014 12:43:48 +0000 (13:43 +0100)] 
add tests

9 years agofix crash on reverse dependency from conn to stm
Michael Wallner [Tue, 25 Nov 2014 12:43:35 +0000 (13:43 +0100)] 
fix crash on reverse dependency from conn to stm

9 years agonow single row mode for prepare and declare
Michael Wallner [Tue, 25 Nov 2014 08:18:12 +0000 (09:18 +0100)] 
now single row mode for prepare and declare

9 years agopq\DateTime::createFromFormat()
Michael Wallner [Tue, 25 Nov 2014 08:18:01 +0000 (09:18 +0100)] 
pq\DateTime::createFromFormat()

9 years agofix crash with result iterator when the iterator exists longer than the
Michael Wallner [Mon, 24 Nov 2014 14:14:49 +0000 (15:14 +0100)] 
fix crash with result iterator when the iterator exists longer than the
result. Reported by Chris Wright

9 years agoback to dev
Michael Wallner [Thu, 23 Oct 2014 11:08:50 +0000 (13:08 +0200)] 
back to dev

9 years agov0.5.5 v0.5.5
Michael Wallner [Thu, 23 Oct 2014 11:06:17 +0000 (13:06 +0200)] 
v0.5.5

9 years agolet JSON be decoded as array unless fetch_type is FETCH_OBJECT
Michael Wallner [Thu, 23 Oct 2014 10:51:32 +0000 (12:51 +0200)] 
let JSON be decoded as array unless fetch_type is FETCH_OBJECT

9 years agofix isolation level
Michael Wallner [Thu, 23 Oct 2014 10:49:34 +0000 (12:49 +0200)] 
fix isolation level

9 years agodefault configure option
Michael Wallner [Thu, 23 Oct 2014 10:48:54 +0000 (12:48 +0200)] 
default configure option

9 years agoRevert "no need for the dafult option"
Michael Wallner [Thu, 23 Oct 2014 10:00:55 +0000 (12:00 +0200)] 
Revert "no need for the dafult option"

This reverts commit 6ff6d5c9b7bb2ce98e984172b9ccd4adf033a2ec.

9 years agoback to dev
Michael Wallner [Thu, 23 Oct 2014 10:00:05 +0000 (12:00 +0200)] 
back to dev

9 years agov0.5.4 v0.5.4
Michael Wallner [Thu, 23 Oct 2014 08:17:41 +0000 (10:17 +0200)] 
v0.5.4

9 years agoFix MacOSX/clang
Michael Wallner [Thu, 23 Oct 2014 08:16:16 +0000 (10:16 +0200)] 
Fix MacOSX/clang

9 years agov0.5.3 v0.5.3
Michael Wallner [Thu, 23 Oct 2014 07:53:57 +0000 (09:53 +0200)] 
v0.5.3

9 years agoadd 9.4beta3 OIDs
Michael Wallner [Thu, 23 Oct 2014 07:49:32 +0000 (09:49 +0200)] 
add 9.4beta3 OIDs

9 years agofix missing bit
Michael Wallner [Thu, 23 Oct 2014 07:45:43 +0000 (09:45 +0200)] 
fix missing bit

9 years agoprefix internal API; ensure raphf is built first in-tree
Michael Wallner [Thu, 23 Oct 2014 07:42:52 +0000 (09:42 +0200)] 
prefix internal API; ensure raphf is built first in-tree

9 years agoallow INT8 / TID on 32 bits
Remi Collet [Sat, 18 Oct 2014 13:15:08 +0000 (15:15 +0200)] 
allow INT8 / TID on 32 bits

9 years agoback to dev
Michael Wallner [Fri, 17 Oct 2014 09:43:27 +0000 (11:43 +0200)] 
back to dev

9 years agoRevert "back to dev"
Michael Wallner [Fri, 17 Oct 2014 09:42:36 +0000 (11:42 +0200)] 
Revert "back to dev"

This reverts commit 775460467d401e927853d4a00b65ebcdeda01c88.

9 years agofix check for PG constant
Remi Collet [Fri, 17 Oct 2014 09:01:43 +0000 (11:01 +0200)] 
fix check for PG constant

9 years agoback to dev
Michael Wallner [Fri, 17 Oct 2014 08:58:08 +0000 (10:58 +0200)] 
back to dev

9 years agoget rid of remaining HAVE_JSON, use PHP_PQ_HAVE_PHP_JSON_H everywhere
Remi Collet [Fri, 17 Oct 2014 08:27:05 +0000 (10:27 +0200)] 
get rid of remaining HAVE_JSON, use PHP_PQ_HAVE_PHP_JSON_H everywhere

9 years agoMerge branch 'master' of git.php.net:/pecl/database/pq
Remi Collet [Fri, 17 Oct 2014 08:24:09 +0000 (10:24 +0200)] 
Merge branch 'master' of git.php.net:/pecl/database/pq

* 'master' of git.php.net:/pecl/database/pq:
  prepare 0.5.2

9 years agoprepare 0.5.2 v0.5.2
Michael Wallner [Fri, 17 Oct 2014 07:55:23 +0000 (09:55 +0200)] 
prepare 0.5.2

9 years agoMerge branch 'master' of git.php.net:/pecl/database/pq
Remi Collet [Fri, 17 Oct 2014 07:16:49 +0000 (09:16 +0200)] 
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

9 years agoMerge branch 'master' of git.php.net:/pecl/database/pq
Remi Collet [Fri, 17 Oct 2014 07:07:10 +0000 (09:07 +0200)] 
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

9 years agobetter checks for json support
Michael Wallner [Fri, 17 Oct 2014 05:34:49 +0000 (07:34 +0200)] 
better checks for json support

9 years agoprepare 0.5.2
Michael Wallner [Thu, 16 Oct 2014 15:05:22 +0000 (17:05 +0200)] 
prepare 0.5.2

9 years agosupport PostgreSQL down to 9.0; JSON is optional
Michael Wallner [Thu, 16 Oct 2014 14:50:13 +0000 (16:50 +0200)] 
support PostgreSQL down to 9.0; JSON is optional

9 years agoback to dev
Michael Wallner [Wed, 15 Oct 2014 16:47:18 +0000 (18:47 +0200)] 
back to dev

9 years agofix pqcur minit and mshutdown v0.5.1
Michael Wallner [Wed, 15 Oct 2014 16:44:22 +0000 (18:44 +0200)] 
fix pqcur minit and mshutdown

9 years agocheck for PQconninfo
Michael Wallner [Wed, 15 Oct 2014 16:38:12 +0000 (18:38 +0200)] 
check for PQconninfo

9 years agoprepare 0.5 v0.5.0
Michael Wallner [Wed, 15 Oct 2014 15:57:15 +0000 (17:57 +0200)] 
prepare 0.5

9 years agofixup
Michael Wallner [Wed, 15 Oct 2014 15:56:18 +0000 (17:56 +0200)] 
fixup

9 years agoadd pq\Connection::$params
Michael Wallner [Wed, 15 Oct 2014 15:48:34 +0000 (17:48 +0200)] 
add pq\Connection::$params

9 years agoupdate from docs
Michael Wallner [Mon, 6 Oct 2014 10:14:02 +0000 (12:14 +0200)] 
update from docs

9 years agopq\Cursor::__construct
Michael Wallner [Mon, 6 Oct 2014 10:13:04 +0000 (12:13 +0200)] 
pq\Cursor::__construct

9 years agofix parameter separation
Michael Wallner [Wed, 1 Oct 2014 13:54:03 +0000 (15:54 +0200)] 
fix parameter separation

9 years agofix ZTS
Michael Wallner [Tue, 30 Sep 2014 18:45:19 +0000 (20:45 +0200)] 
fix ZTS

9 years agono need for the dafult option
Michael Wallner [Tue, 30 Sep 2014 18:44:57 +0000 (20:44 +0200)] 
no need for the dafult option

9 years agofix test
Michael Wallner [Tue, 30 Sep 2014 18:44:46 +0000 (20:44 +0200)] 
fix test

9 years agofix test
Michael Wallner [Tue, 30 Sep 2014 18:44:30 +0000 (20:44 +0200)] 
fix test

9 years agono need to skip one version :)
Michael Wallner [Tue, 30 Sep 2014 13:00:13 +0000 (15:00 +0200)] 
no need to skip one version :)

9 years agoadministrativa
Michael Wallner [Tue, 30 Sep 2014 12:58:22 +0000 (14:58 +0200)] 
administrativa

9 years agoupdate from docs
Michael Wallner [Tue, 30 Sep 2014 12:53:13 +0000 (14:53 +0200)] 
update from docs

9 years agoconvert zend_hash_apply_with_argument(s)
Michael Wallner [Fri, 26 Sep 2014 18:03:23 +0000 (20:03 +0200)] 
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

9 years agoupdate from docs
Michael Wallner [Fri, 26 Sep 2014 13:05:40 +0000 (15:05 +0200)] 
update from docs

9 years agoupdate from docs
Michael Wallner [Thu, 25 Sep 2014 12:04:35 +0000 (14:04 +0200)] 
update from docs

9 years agomore internal conversions
Michael Wallner [Wed, 17 Sep 2014 12:13:53 +0000 (14:13 +0200)] 
more internal conversions

9 years agofix test
Michael Wallner [Wed, 17 Sep 2014 07:39:42 +0000 (09:39 +0200)] 
fix test

9 years agotypo
Michael Wallner [Wed, 17 Sep 2014 07:35:47 +0000 (09:35 +0200)] 
typo

9 years agoguard against uninitialized property write, too
Michael Wallner [Wed, 17 Sep 2014 07:23:45 +0000 (09:23 +0200)] 
guard against uninitialized property write, too

use php_error with E_RECOVERABLE_ERROR

9 years agoreverse arguments of pq\Result::fetchCol()
Michael Wallner [Wed, 17 Sep 2014 07:17:13 +0000 (09:17 +0200)] 
reverse arguments of pq\Result::fetchCol()

9 years agofix bitmask
Michael Wallner [Tue, 16 Sep 2014 18:13:29 +0000 (20:13 +0200)] 
fix bitmask

9 years agomake arg to fetchAllCols optional
Michael Wallner [Mon, 15 Sep 2014 11:22:20 +0000 (13:22 +0200)] 
make arg to fetchAllCols optional

9 years agofix raphf dep
Michael Wallner [Mon, 15 Sep 2014 07:46:07 +0000 (09:46 +0200)] 
fix raphf dep

9 years agofiy double slash
Michael Wallner [Mon, 15 Sep 2014 07:46:00 +0000 (09:46 +0200)] 
fiy double slash

9 years agobitbucket issue #7: pq\Result::fetchAllCols(col_idx_or_name)
Michael Wallner [Mon, 15 Sep 2014 07:45:52 +0000 (09:45 +0200)] 
bitbucket issue #7: pq\Result::fetchAllCols(col_idx_or_name)

9 years agoping server and eventually reset conn on wakeup
Michael Wallner [Sat, 13 Sep 2014 06:56:29 +0000 (08:56 +0200)] 
ping server and eventually reset conn on wakeup

9 years agofix package.xml
Michael Wallner [Fri, 12 Sep 2014 14:57:42 +0000 (16:57 +0200)] 
fix package.xml

9 years agophp_pq_type.h
Michael Wallner [Fri, 12 Sep 2014 14:55:25 +0000 (16:55 +0200)] 
php_pq_type.h

9 years agoupdate tests
Michael Wallner [Fri, 12 Sep 2014 14:52:39 +0000 (16:52 +0200)] 
update tests

9 years agorefactor auto conversion
Michael Wallner [Fri, 12 Sep 2014 14:42:03 +0000 (16:42 +0200)] 
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)

9 years agorefactor type conversion
Michael Wallner [Fri, 12 Sep 2014 12:39:06 +0000 (14:39 +0200)] 
refactor type conversion

9 years agoadd default propoerties to connection
Michael Wallner [Fri, 12 Sep 2014 08:52:18 +0000 (10:52 +0200)] 
add default propoerties to connection

For pq\Result:
pq\Connection->$defaultFetchType

For pq\Transaction:
pq\Connection->$defaultTransactionIsolation
pq\Connection->$defaultTransactionReadonly
pq\Connection->$defaultTransactionDeferrable

9 years agoavoid adding a ref to the object of the iterator actually living inside
Michael Wallner [Fri, 12 Sep 2014 05:25:24 +0000 (07:25 +0200)] 
avoid adding a ref to the object of the iterator actually living inside
that object