Commit Graph

13 Commits

Author SHA1 Message Date
brianc
17697e98d7 Re-enable old tests 2016-05-03 13:07:29 -05:00
Chris Kinsman
e1ce9a3948 Eliminate detach/reattach strategy as it isn't able to differentiate between on/once and inconsistenly loses unshifted data depending on node version. Instead just split stream and send it to copy stream and the connection.stream at the same time. Disconnecting copy stream just means unpiping. Added handleCopyData to fulfill query contract but ignore the incoming data.
Add node 4.2.2 to Travis
Minimum postgres 9.2 to allow tests to complete in Travis

Remove test that is no longer needed since we no longer disconnect/reconnect listeners
2015-12-16 16:21:13 -08:00
Dan
b1b613125f Better test of error handling after initial response. 2014-09-16 00:24:14 -04:00
Brian M. Carlson
d6eab36b66 Make tests a bit more robusto 2014-09-15 20:56:34 -04:00
Dan
b78a3eb845 Accept stream options in constructors, pass to internal transform streams.
Includes tests.
2014-09-15 15:01:39 -04:00
Dan Robinson
1db9b3ec3d Adds handling for errors after initial response.
Includes a test.
2014-04-06 22:04:20 -07:00
Brian C
208861d057 Merge pull request #11 from drob/add-test
Adds a smoke test for copying with BINARY.
2014-04-06 11:06:16 -05:00
Dan Robinson
bef3ba5fcd Adds a smoke test for copying with BINARY. 2014-04-06 04:50:54 -07:00
Dan Robinson
591a11c955 Fixes another event handler leak.
It turns out 'error' handlers were leaking as well, although more slowly.
2014-04-06 03:49:25 -07:00
Dan Robinson
d649905dbb Fixes an event handler leak.
Includes a test. Also includes async as a devDependency.
2014-03-28 04:19:19 -07:00
Brian M. Carlson
2f5b37e0ad Do not emit row event 2013-10-28 21:50:45 -05:00
Brian M. Carlson
c9c843fd07 Emit 'row' events on streams for progress tracking 2013-10-28 21:27:15 -05:00
Brian M. Carlson
d3d648a623 Initial commit 2013-10-28 17:31:11 -05:00