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
Michael Wallner
afc8bb8eb9
export/import LOB
2013-02-22 23:15:45 +01:00
Michael Wallner
85f1422073
tests
2013-02-22 17:16:12 +01:00
Michael Wallner
f00254ec86
fix test
2013-02-22 12:21:50 +01:00
Michael Wallner
630017bcb9
remove pq\Event
2013-02-21 13:18:06 +01:00
Michael Wallner
3024b0b5a9
tests & fixes
2013-02-14 14:54:22 +01:00
Michael Wallner
3e70f1ceb6
fix test
2013-02-12 21:40:31 +01:00
Michael Wallner
1d3a582aec
half way through the exception refactoring
2013-02-12 10:03:07 +01:00
Michael Wallner
352b77694b
simple persistent connection test
2013-02-06 22:04:19 +01:00
Michael Wallner
d66c976b04
drop test table twice; once with notice
2013-02-05 22:00:06 +01:00
Michael Wallner
c7693a7707
bound vars
2013-02-01 16:44:14 +01:00
Michael Wallner
b088cd2411
pq\Result::map(), XTN savepoints & snapshots
2013-01-31 17:56:13 +01:00
Michael Wallner
ac08c194e7
trim errors; pq\COPY++
2013-01-30 17:21:38 +01:00
Michael Wallner
d4f2435f5b
pq\Types, pq\LOB
...
- added pq\Types instead of Connection->types
- added pq\LOB
2013-01-29 21:02:25 +01:00
Michael Wallner
7028ab969c
pq\Event::NOTICE
2013-01-26 19:57:07 +01:00
Michael Wallner
86138e39ba
cancel
2013-01-25 23:22:37 +01:00