m6w6/ext-pq
10 years agomake arg to fetchAllCols optional
Michael Wallner [Mon, 15 Sep 2014 11:22:20 +0000 (13:22 +0200)] 
make arg to fetchAllCols optional

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

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

10 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)

10 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

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

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

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

10 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)

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

10 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

10 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

10 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

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

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

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

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

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

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

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

10 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

10 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+

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

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

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

11 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()

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

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

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

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

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

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

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

11 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

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

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

11 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

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

11 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

11 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

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

11 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

11 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()

11 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

11 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()

11 years agoremove pq\Event
Michael Wallner [Thu, 21 Feb 2013 12:18:06 +0000 (13:18 +0100)] 
remove pq\Event

11 years agomaintenance
Michael Wallner [Wed, 20 Feb 2013 21:43:42 +0000 (22:43 +0100)] 
maintenance

11 years agoadd pq\Result::fetchAll()
Michael Wallner [Tue, 19 Feb 2013 16:49:23 +0000 (17:49 +0100)] 
add pq\Result::fetchAll()

11 years agotests & fixes
Michael Wallner [Thu, 14 Feb 2013 13:54:22 +0000 (14:54 +0100)] 
tests & fixes

11 years agofix test
Michael Wallner [Tue, 12 Feb 2013 20:40:31 +0000 (21:40 +0100)] 
fix test

11 years agodone with exception refactoring; maybe look over some exc codes
Michael Wallner [Tue, 12 Feb 2013 17:23:00 +0000 (18:23 +0100)] 
done with exception refactoring; maybe look over some exc codes

11 years agohalf way through the exception refactoring
Michael Wallner [Tue, 12 Feb 2013 09:03:07 +0000 (10:03 +0100)] 
half way through the exception refactoring

11 years agocancel any active async query on persistent connection retirement
Michael Wallner [Fri, 8 Feb 2013 22:09:31 +0000 (23:09 +0100)] 
cancel any active async query on persistent connection retirement

11 years agoadd namespace support to pq\Types
Michael Wallner [Fri, 8 Feb 2013 19:53:12 +0000 (20:53 +0100)] 
add namespace support to pq\Types

11 years agoadapt persistent handle API
Michael Wallner [Thu, 7 Feb 2013 13:51:13 +0000 (14:51 +0100)] 
adapt persistent handle API

11 years agosimple persistent connection test
Michael Wallner [Wed, 6 Feb 2013 21:04:19 +0000 (22:04 +0100)] 
simple persistent connection test

11 years agoonly rollback if transaction status indicates need of action
Michael Wallner [Wed, 6 Feb 2013 21:03:55 +0000 (22:03 +0100)] 
only rollback if transaction status indicates need of action

11 years agopfui; merging old patches without test
Michael Wallner [Wed, 6 Feb 2013 16:21:39 +0000 (17:21 +0100)] 
pfui; merging old patches without test

11 years agomerge danglind Statement->descAsync patch
Michael Wallner [Wed, 6 Feb 2013 15:42:06 +0000 (16:42 +0100)] 
merge danglind Statement->descAsync patch

11 years agoproper cleanup of persistent connections
Michael Wallner [Wed, 6 Feb 2013 15:40:55 +0000 (16:40 +0100)] 
proper cleanup of persistent connections

11 years agodescribe statement async
Michael Wallner [Wed, 6 Feb 2013 09:13:41 +0000 (10:13 +0100)] 
describe statement async

11 years agodrop test table twice; once with notice
Michael Wallner [Tue, 5 Feb 2013 21:00:06 +0000 (22:00 +0100)] 
drop test table twice; once with notice

11 years agomaintenance
Michael Wallner [Tue, 5 Feb 2013 20:59:37 +0000 (21:59 +0100)] 
maintenance

11 years agoasync listen/notify
Michael Wallner [Tue, 5 Feb 2013 20:59:10 +0000 (21:59 +0100)] 
async listen/notify

11 years agoremove unused code
Michael Wallner [Sat, 2 Feb 2013 13:37:37 +0000 (14:37 +0100)] 
remove unused code

11 years agopersistent connections
Michael Wallner [Sat, 2 Feb 2013 13:35:13 +0000 (14:35 +0100)] 
persistent connections

11 years agobound vars
Michael Wallner [Fri, 1 Feb 2013 15:44:14 +0000 (16:44 +0100)] 
bound vars

11 years agopq\Statement::bind()
Michael Wallner [Thu, 31 Jan 2013 22:29:41 +0000 (23:29 +0100)] 
pq\Statement::bind()

11 years agobuild maintenance
Michael Wallner [Thu, 31 Jan 2013 21:15:54 +0000 (22:15 +0100)] 
build maintenance

11 years agopq\Result::map(), XTN savepoints & snapshots
Michael Wallner [Thu, 31 Jan 2013 16:56:13 +0000 (17:56 +0100)] 
pq\Result::map(), XTN savepoints & snapshots

11 years agotrim errors; pq\COPY++
Michael Wallner [Wed, 30 Jan 2013 16:21:38 +0000 (17:21 +0100)] 
trim errors; pq\COPY++

11 years agopq\Types, pq\LOB
Michael Wallner [Tue, 29 Jan 2013 20:02:25 +0000 (21:02 +0100)] 
pq\Types, pq\LOB

- added pq\Types instead of Connection->types
- added pq\LOB

11 years agoreset event; informational connection properties
Michael Wallner [Mon, 28 Jan 2013 09:28:49 +0000 (10:28 +0100)] 
reset event; informational connection properties

11 years agopq\Event::RESULT
Michael Wallner [Sun, 27 Jan 2013 22:17:52 +0000 (23:17 +0100)] 
pq\Event::RESULT

11 years agorefactor objects
Michael Wallner [Sat, 26 Jan 2013 23:34:08 +0000 (00:34 +0100)] 
refactor objects

11 years agopq\Event::NOTICE
Michael Wallner [Sat, 26 Jan 2013 18:57:07 +0000 (19:57 +0100)] 
pq\Event::NOTICE

11 years agocancel
Michael Wallner [Fri, 25 Jan 2013 22:22:37 +0000 (23:22 +0100)] 
cancel

11 years agotransactions
Michael Wallner [Fri, 25 Jan 2013 20:08:56 +0000 (21:08 +0100)] 
transactions

11 years agoprogress++
Michael Wallner [Tue, 22 Jan 2013 23:02:55 +0000 (00:02 +0100)] 
progress++

11 years agoprepareAsync++, Statement::execAsync++
Michael Wallner [Tue, 22 Jan 2013 17:11:32 +0000 (18:11 +0100)] 
prepareAsync++, Statement::execAsync++

11 years agofix arginfo params
Michael Wallner [Tue, 22 Jan 2013 15:58:59 +0000 (16:58 +0100)] 
fix arginfo params

11 years agoexecAsync++, execParamsAsync++
Michael Wallner [Tue, 22 Jan 2013 15:28:11 +0000 (16:28 +0100)] 
execAsync++, execParamsAsync++

11 years agonotifications++
Michael Wallner [Mon, 21 Jan 2013 22:55:26 +0000 (23:55 +0100)] 
notifications++

11 years agofix missing return
Michael Wallner [Mon, 21 Jan 2013 22:39:43 +0000 (23:39 +0100)] 
fix missing return

11 years agonotifications
Michael Wallner [Mon, 21 Jan 2013 22:31:42 +0000 (23:31 +0100)] 
notifications

11 years agoremove superfluous error text in pgres errors
Michael Wallner [Mon, 21 Jan 2013 17:10:59 +0000 (18:10 +0100)] 
remove superfluous error text in pgres errors