Michael Wallner
80a38048f8
PHP 8 compatibility
2020-09-23 20:07:32 +02:00
Dmitry Simushev
843fc4cf78
Fix empty arrays parsing
2019-12-28 16:46:04 +03:00
Michael Wallner
5ba3107011
upgrade pq\Types
...
the internal abstime/reltime types have been removed from postgres
2019-03-04 07:50:43 +01:00
Michael Wallner
6ab3ae0762
travis: fix expectations
2017-09-04 15:33:59 +02:00
Michael Wallner
ef9b34bc5a
fix issue #23 (PHP-7.1 JSON compat)
2016-11-15 09:55:32 +01:00
Michael Wallner
75f3b1b8e2
Merge branch 'v1.1.x'
2016-05-18 14:26:04 +02:00
Michael Wallner
a3df086cd5
add support for nonblocking writes
...
added pq\Connection::$nonblocking and pq\Connection::flush()
Closes gh-issue #16
2016-05-18 14:20:21 +02:00
Michael Wallner
768d8a8ddc
Merge branch 'v1.1.x'
2016-05-17 16:52:19 +02:00
Michael Wallner
e4075e6d5c
fix test
2016-05-17 16:52:04 +02:00
Michael Wallner
b600ed678d
Merge branch 'v1.1.x'
2016-05-17 16:33:37 +02:00
Michael Wallner
df586b5587
restore listeners and statements on connection reset
...
closes issue #15
2016-05-17 16:25:18 +02:00
Michael Wallner
b9f66d2b73
Merge branch 'v1.1.x'
2016-05-17 12:14:07 +02:00
Michael Wallner
1b5358df41
fix tests
2016-05-17 12:13:20 +02:00
Michael Wallner
8d0dbf7286
Merge branch 'v1.0.x'
2016-05-03 14:56:28 +02:00
Michael Wallner
a06db6d217
fix issue #9 @github: execAsync - gets another result
2016-05-03 14:21:15 +02:00
Michael Wallner
cb69b6218d
finish port
2015-08-19 18:40:34 +02:00
Michael Wallner
8b7efa3deb
now we're brave!
2015-07-30 17:37:28 +02:00
Michael Wallner
5e25e2697b
fix test
2015-07-27 12:43:29 +02:00
Michael Wallner
a1fc94a694
fix test if builtin json converter is not available
2015-05-29 11:17:49 +02:00
Michael Wallner
d3fbce1b02
Fixed array parser compatibility with arrays of boxes
2015-05-22 12:31:21 +02:00
Michael Wallner
90fc98eef3
fix leak; fix test
2014-12-17 08:38:31 +01:00
Michael Wallner
a76b00c331
add missing tests
2014-12-17 07:51:19 +01:00
Chris Wright
4822c94ec2
Test props with Connection::prepare() as well as Statement ctor
2014-12-15 16:52:42 +00:00
Chris Wright
e1b86433bd
Ensure server will report notices when test expects them
2014-12-15 12:35:30 +00:00
Chris Wright
3b0f6e8d71
Add $query and $types properties to Statement
2014-12-12 01:47:01 +00:00
Chris Wright
7b61b6b19f
Add deallocate() and prepare() to Statement
...
Also adds async variants
2014-12-10 16:50:22 +00:00
Michael Wallner
c223e1c70b
add tests
2014-11-25 13:43:48 +01:00
Michael Wallner
1113a9190f
let JSON be decoded as array unless fetch_type is FETCH_OBJECT
2014-10-23 12:51:32 +02:00
Michael Wallner
c62ffa9e8c
support PostgreSQL down to 9.0; JSON is optional
2014-10-16 16:50:13 +02:00
Michael Wallner
80ad126795
fixup
2014-10-15 17:56:18 +02:00
Michael Wallner
d662d7beb2
pq\Cursor::__construct
2014-10-06 12:13:29 +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
7acdd4b540
update from docs
2014-09-30 14:53:13 +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
1c52f7b4a5
reverse arguments of pq\Result::fetchCol()
2014-09-17 09:17:13 +02:00
Michael Wallner
dde388e274
update tests
2014-09-12 16:52:39 +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
6e672843c6
fix test
2014-09-11 16:40:46 +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
c48a4a7f5d
fix test for newer internal datetime format
2014-07-14 13:28: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
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
Michael Wallner
0bce4e6693
moar tests
2013-05-14 13:50:22 +02:00
Michael Wallner
88440266c0
type converters
2013-05-14 13:09:23 +02:00