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
Michael Wallner
f4decb22c9
test fix; build fix; meta data
2013-05-01 13:57:41 +02:00
Michael Wallner
cd5d3cdafd
test
2013-04-29 14:24:05 +02:00
Michael Wallner
fad4fe6a60
extended result type handling with catalog/pg_type.h
2013-04-24 12:24:54 +02:00
Michael Wallner
b762068714
use the same method signature in fetchCol() and bind()
2013-04-19 11:43:49 +02:00
Michael Wallner
377250ea43
fix fetchCol to return true/false and pass value int pass-by-ref param
2013-04-19 11:04:56 +02:00