Commit Graph

196 Commits

Author SHA1 Message Date
brianc
ac92b4a8e6 Merge branch 'master' of https://github.com/JulianBirch/node-postgres into JulianBirch-master 2010-12-19 14:16:33 -06:00
Julian Birch
721cf56eb3 Rows are now associative arrays rather than straight arrays. 2010-12-19 09:41:11 +00:00
brianc
4bda436b2b added test for transactions 2010-12-18 14:50:30 -06:00
Brian Carlson
9281ff9860 failing test for query errors not being trapped in callback 2010-12-16 23:48:58 -06:00
Brian Carlson
fb463923d8 test refactoring 2010-12-14 19:23:01 -06:00
Brian Carlson
b3e56afea2 initial working connection pool implementation & tests 2010-12-13 17:21:40 -06:00
Brian Carlson
ab13d0c1eb initial crack at connection pooling -- still dirty 2010-12-10 17:32:34 -06:00
Brian Carlson
f0291d30d7 nested query and streamlined api working 2010-12-02 17:47:54 -06:00
Brian Carlson
8d7ff353af fix to allow executing queries within the callback function of another query.
there was a timing issue with emiting the drain event
2010-11-21 23:30:10 -06:00
Brian Carlson
de5438e6f5 started working on specifying defaults 2010-11-20 14:09:18 -06:00
Brian Carlson
2fd220d8e2 fix to make connection error reporting more robust in test 2010-11-17 13:13:27 -06:00
Brian Carlson
f7d990068f more integration tests for new api 2010-11-15 01:12:29 -06:00
Brian Carlson
0bde640bab overloaded "simple" query api to provide callback enabled prepared statement 2010-11-15 00:42:38 -06:00
Brian Carlson
91aac6d350 initial callback api integration underway 2010-11-15 00:10:21 -06:00
Brian Carlson
f8096cbe55 initial work on streamlined client interface 2010-11-14 23:04:41 -06:00
Brian Carlson
78c4ca832c test for row count > result count in cursor row limit 2010-11-14 17:56:18 -06:00
Brian Carlson
ebf5c5c4ed support for limiting number of rows returned at a time from a cursor 2010-11-14 17:53:49 -06:00
Brian Carlson
6585f85d03 query object now emits query related errors, client object no longer
emits query related errors
2010-11-14 16:50:38 -06:00
brianc
95ee9e645c query now returns named records in rows 2010-11-04 00:21:29 -05:00
brianc
b9387dfda5 added more robust multiple query result tests 2010-11-03 23:16:58 -05:00
brianc
dbc84f69f0 changed integration test to depend on row array methods for
future-proofing any accidental api change
2010-11-03 23:08:14 -05:00
brianc
2efe451ee6 added Row object instead of returning raw dataRow object w/ coerced types 2010-11-03 23:06:07 -05:00
brianc
1b9ccf97e9 reduced number of flush messages during prepared statement, 2x performance 2010-11-02 03:29:11 -05:00
brianc
aa53908e88 updating tests to use fewer connections and up timeout for slower machines 2010-11-02 18:15:41 -05:00
brianc
381598d3c0 date type coercion works in both directions 2010-11-02 00:50:42 -05:00
brianc
6841178ca2 modified tests to correctly check for adjusted utc values 2010-11-02 00:23:39 -05:00
brianc
2ce2277bcf updated type coercion test execution order to not fail due to slow query perf timeouts 2010-11-01 20:38:22 -04:00
brianc
074779b5ff initial work on dates 2010-11-01 00:27:05 -05:00
brianc
d2079478da change name of assert.raises to assert.emits 2010-10-31 14:43:10 -05:00
brianc
a928453d69 integration tests for parsing types, failing on nulls 2010-10-30 21:10:26 -05:00
brianc
df2533e9a3 adding begining of better testing of types 2010-10-30 21:10:26 -05:00
bmc
cafded964e support for 'emptyQuery' command 2010-10-29 21:33:53 -04:00
bmc
adcadd5810 rename to correct typo in filename 2010-10-29 21:16:37 -04:00
bmc
e57e1809a3 no-data test passing 2010-10-29 21:16:05 -04:00
bmc
8108736b21 added more complicated simple query & used 'drain' event to disconnect 2010-10-29 21:10:49 -04:00
bmc
d0de1fc890 unrolled test nesting to better demonstrate async nature 2010-10-29 21:05:35 -04:00
brianc
d38a7f5ed7 added tests to support noData & extra query scenarios but currently
failing...ignoring for now
2010-10-29 00:46:08 -05:00
brianc
da8026df9d prepared statements moved forward a good deal 2010-10-28 19:09:40 -05:00
brianc
0787df4f74 remove detailed logging from integration test 2010-10-28 01:04:55 -05:00
brianc
104727fd87 simple prepared statements working! 2010-10-28 00:50:45 -05:00
brianc
239a12fa1c file renames 2010-10-27 23:51:08 -05:00
brianc
b5d02a995a basic test for client error handling 2010-10-26 08:51:12 -05:00
brianc
6699cccafe more asertions for simple query test 2010-10-26 08:47:05 -05:00
brianc
490bfdaebd slight refactor to client integration tests in prep for deeper testing effort 2010-10-26 08:31:58 -05:00
brianc
c3f69a8be7 add end to client 2010-10-25 17:24:17 -05:00
brianc
e5bcdc4542 added integration tests for simple queries via the client api 2010-10-25 01:40:24 -05:00