m6w6/ext-pq
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

9 years agofix possible invalid free and a leak
Michael Wallner [Thu, 11 Sep 2014 14:41:18 +0000 (16:41 +0200)] 
fix possible invalid free and a leak

9 years agofix test
Michael Wallner [Thu, 11 Sep 2014 14:40:46 +0000 (16:40 +0200)] 
fix test

9 years agofix --without-pq-postgresql
Michael Wallner [Thu, 11 Sep 2014 14:39:57 +0000 (16:39 +0200)] 
fix --without-pq-postgresql

9 years agoadministrativa
Michael Wallner [Thu, 11 Sep 2014 13:29:48 +0000 (15:29 +0200)] 
administrativa

9 years agofix bitbucket issue #2
Michael Wallner [Thu, 11 Sep 2014 13:29:36 +0000 (15:29 +0200)] 
fix bitbucket issue #2

9 years agounregister eventhandler
Michael Wallner [Mon, 14 Jul 2014 16:21:46 +0000 (18:21 +0200)] 
unregister eventhandler

9 years agounlisten support
Michael Wallner [Mon, 14 Jul 2014 16:02:57 +0000 (18:02 +0200)] 
unlisten support

9 years agouse php_pq_callback_recurse
Michael Wallner [Mon, 14 Jul 2014 11:28:47 +0000 (13:28 +0200)] 
use php_pq_callback_recurse

9 years agofix test for newer internal datetime format
Michael Wallner [Mon, 14 Jul 2014 11:28:30 +0000 (13:28 +0200)] 
fix test for newer internal datetime format

9 years agozts and 5.6 fixes ida
Michael Wallner [Fri, 23 May 2014 09:29:30 +0000 (11:29 +0200)] 
zts and 5.6 fixes

10 years agoadd cursor support
Michael Wallner [Fri, 4 Apr 2014 13:48:20 +0000 (15:48 +0200)] 
add cursor support

10 years agofix test for 9.3+
Michael Wallner [Fri, 4 Apr 2014 13:47:15 +0000 (15:47 +0200)] 
fix test for 9.3+

10 years agofix version macros name
Anatol Belski [Tue, 15 Oct 2013 15:32:59 +0000 (17:32 +0200)] 
fix version macros name

10 years agor0.4.0 v0.4.0
Michael Wallner [Wed, 15 May 2013 06:12:33 +0000 (08:12 +0200)] 
r0.4.0

10 years agotest Statement::bind()
Michael Wallner [Tue, 14 May 2013 12:41:15 +0000 (14:41 +0200)] 
test Statement::bind()

10 years agofix Statement::descAsync; add Result::desc()
Michael Wallner [Tue, 14 May 2013 12:30:53 +0000 (14:30 +0200)] 
fix Statement::descAsync; add Result::desc()

10 years agoversion
Michael Wallner [Tue, 14 May 2013 11:56:36 +0000 (13:56 +0200)] 
version

10 years agotypo
Michael Wallner [Tue, 14 May 2013 11:56:26 +0000 (13:56 +0200)] 
typo

10 years agomoar tests
Michael Wallner [Tue, 14 May 2013 11:50:22 +0000 (13:50 +0200)] 
moar tests

10 years agoalways provide a property zval
Michael Wallner [Tue, 14 May 2013 11:12:44 +0000 (13:12 +0200)] 
always provide a property zval

10 years agotype converters
Michael Wallner [Tue, 14 May 2013 11:09:23 +0000 (13:09 +0200)] 
type converters

10 years agoadd simple array param serialization
Michael Wallner [Sun, 12 May 2013 08:14:12 +0000 (10:14 +0200)] 
add simple array param serialization

10 years agor0.3.0 v0.3.0
Michael Wallner [Fri, 3 May 2013 13:07:10 +0000 (15:07 +0200)] 
r0.3.0

10 years agotest fix; build fix; meta data
Michael Wallner [Wed, 1 May 2013 11:57:41 +0000 (13:57 +0200)] 
test fix; build fix; meta data

10 years agotypo
Michael Wallner [Mon, 29 Apr 2013 14:26:16 +0000 (16:26 +0200)] 
typo

10 years agotest
Michael Wallner [Mon, 29 Apr 2013 12:24:05 +0000 (14:24 +0200)] 
test

10 years agotype coercion for the array parser
Michael Wallner [Mon, 29 Apr 2013 12:23:56 +0000 (14:23 +0200)] 
type coercion for the array parser

10 years agoarray parser
Michael Wallner [Mon, 29 Apr 2013 09:25:11 +0000 (11:25 +0200)] 
array parser

10 years agotypo: oid of bool is 16, not 18
Michael Wallner [Mon, 29 Apr 2013 09:24:05 +0000 (11:24 +0200)] 
typo: oid of bool is 16, not 18

10 years agoprepare 0.2.0 v0.2.0
Michael Wallner [Thu, 25 Apr 2013 08:14:41 +0000 (10:14 +0200)] 
prepare 0.2.0

10 years agobetter datetime handling
Michael Wallner [Wed, 24 Apr 2013 15:45:52 +0000 (17:45 +0200)] 
better datetime handling

10 years agoextended result type handling with catalog/pg_type.h
Michael Wallner [Wed, 24 Apr 2013 10:24:54 +0000 (12:24 +0200)] 
extended result type handling with catalog/pg_type.h

10 years agouse the same method signature in fetchCol() and bind()
Michael Wallner [Fri, 19 Apr 2013 09:43:49 +0000 (11:43 +0200)] 
use the same method signature in fetchCol() and bind()

10 years agofix fetchCol to return true/false and pass value int pass-by-ref param
Michael Wallner [Fri, 19 Apr 2013 09:04:56 +0000 (11:04 +0200)] 
fix fetchCol to return true/false and pass value int pass-by-ref param

10 years agobetter type handling for bool/double params
Michael Wallner [Fri, 19 Apr 2013 08:33:25 +0000 (10:33 +0200)] 
better type handling for bool/double params

11 years agono gc for now
Michael Wallner [Mon, 15 Apr 2013 10:45:49 +0000 (12:45 +0200)] 
no gc for now

11 years agotransform event handlers to zvals;
Michael Wallner [Mon, 15 Apr 2013 08:53:44 +0000 (10:53 +0200)] 
transform event handlers to zvals;
ignore gc for now, until sorted out

11 years agoimplemented get_properties() object handler
Michael Wallner [Sat, 13 Apr 2013 15:55:44 +0000 (17:55 +0200)] 
implemented get_properties() object handler

11 years agosplit source v0.1.0
Michael Wallner [Fri, 22 Mar 2013 14:06:38 +0000 (15:06 +0100)] 
split source

11 years agofix zend_object_iterator.key with PHP-5.5
Michael Wallner [Thu, 21 Mar 2013 16:31:20 +0000 (17:31 +0100)] 
fix zend_object_iterator.key with PHP-5.5

11 years agoexport/import LOB
Michael Wallner [Fri, 22 Feb 2013 22:15:45 +0000 (23:15 +0100)] 
export/import LOB

11 years agoadd TODO
Michael Wallner [Fri, 22 Feb 2013 16:16:53 +0000 (17:16 +0100)] 
add TODO

11 years agotests
Michael Wallner [Fri, 22 Feb 2013 16:16:12 +0000 (17:16 +0100)] 
tests

11 years agopq\LOB stream
Michael Wallner [Fri, 22 Feb 2013 16:15:53 +0000 (17:15 +0100)] 
pq\LOB stream

11 years agotypo
Michael Wallner [Fri, 22 Feb 2013 11:20:47 +0000 (12:20 +0100)] 
typo

11 years agofix test
Michael Wallner [Fri, 22 Feb 2013 11:14:00 +0000 (12:14 +0100)] 
fix test

11 years agodo not recreate the row zval on every call to current()
Michael Wallner [Thu, 21 Feb 2013 16:42:06 +0000 (17:42 +0100)] 
do not recreate the row zval on every call to current()