jeromew
43bc2cac7b
Use strict (ported from CartoDB's fork)
6 years ago
jeromew
5e3934b71f
Drop support for old version of Node.js
...
Add support for latest LTS releases and current
6 years ago
jeromew
69f670ab13
Update dev dependencies
6 years ago
jeromew
e15feb199a
README.md: copy-from error and vacuum #26
8 years ago
jeromew
191a4ec16a
Fix documentation of copy-from completion
8 years ago
jeromew
399bff7ed7
Bump version
8 years ago
jeromew
8174e10fb5
Merge pull request #54 from jeromew/upstream-end
...
Test: `end` event should not be triggered 2 times on copy-from
8 years ago
jeromew
f29aef3bba
Merge pull request #53 from jeromew/upstream-frontier
...
Bugfix - wrong tests on chunk frontiers
8 years ago
jeromew
b2e108571e
Issue #54 : We should probably delay the _flush cb() to CommandComplete
8 years ago
jeromew
7003f6070f
Fix issue #54 : `end` is being triggered 2 times
8 years ago
jeromew
ade7ab95a0
Test: `end` event should not be triggered 2 times on copy-from
8 years ago
jeromew
9ccda04036
Bugfix - Chunk frontiers were not correctly tested
8 years ago
jeromew
a5e532f20b
Bugfix - wrong tests on chunk frontiers
8 years ago
jeromew
2a4db2920e
Fix NoticeResponse test and handle other messages ( #52 )
8 years ago
jeromew
f155899570
Add a test for NoticeResponse handling ( #51 )
8 years ago
brianc
18be125596
Bump version
8 years ago
jeromew
ae5b344395
Refactor message format codes handling ( #45 )
8 years ago
jeromew
ee84aba89f
Use `end` stream option instead of not calling _flush callback ( #44 )
8 years ago
brianc
e0aa7db324
Bump version
8 years ago
Jonathan Bergknoff
0f0ddf7ad4
Expose row count after COPY FROM command ( #37 )
...
* Expose row count after COPY FROM command
* correct conditional
8 years ago
brianc
ed57e131e9
Drop support for node@v0.10
9 years ago
Brian C
c4a0e6dd58
Fix compatibility with newer versions of node ( #39 )
...
* 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
* Add resume
* Remove node 0.10 and add 0.12
* Re-enable old tests
* Add more versions to the travis test matrix
9 years ago
Dan Robinson
d5b5c8c569
Merge pull request #33 from alexconlin/master
...
Change file format in example from .tdv to .tsv
9 years ago
Alex Conlin
6981ea6ac5
Change file format in example from .tdv to .tsv
9 years ago
brianc
d2b9677a02
Fix travis build
10 years ago
Brian M. Carlson
bfee86543f
Remove database from .travis.yml - that is not the problem
10 years ago
Brian C
21f47220fc
Merge pull request #20 from drob/error-message
...
Better test of error handling after initial response.
10 years ago
Dan
b1b613125f
Better test of error handling after initial response.
10 years ago
Brian M. Carlson
4222053744
Last try before I abandon travis
10 years ago
Brian M. Carlson
040ed5f4da
Mess with travis config
10 years ago
Brian M. Carlson
f9ee1c083a
Merge branch 'master' of github.com:brianc/node-pg-copy-streams
10 years ago
Brian M. Carlson
dcfffd0670
Try new travis changes
10 years ago
Brian C
12e4ca33b0
Update README.md
...
dat travis badge
10 years ago
Brian M. Carlson
8f2355e454
0.3.0
10 years ago
Brian M. Carlson
d6eab36b66
Make tests a bit more robusto
10 years ago
Brian M. Carlson
33f6ecc11b
Add workflow boilerplate files
10 years ago
Brian C
36572a8b7b
Merge pull request #16 from drob/fix-docs
...
Fixes pipe from a file to table example in README.md.
10 years ago
Brian C
0c5d08edae
Merge pull request #19 from drob/transform-opts
...
Accept stream options in constructors, pass to internal transform streams.
10 years ago
Dan
b78a3eb845
Accept stream options in constructors, pass to internal transform streams.
...
Includes tests.
10 years ago
Dan
107f007249
Fixes pipe from a file to table example in README.md.
10 years ago
Brian C
25b8d6da5f
Update README.md
...
Providing clarity for #6
11 years ago
Dan Robinson
1c0c8871c1
Bump version
11 years ago
Dan Robinson
beb54334e2
Merge pull request #12 from drob/error-handling
...
Adds handling for errors after initial response.
11 years ago
Dan Robinson
1db9b3ec3d
Adds handling for errors after initial response.
...
Includes a test.
11 years ago
Brian M. Carlson
1822f399d2
Bump version
11 years ago
Brian C
208861d057
Merge pull request #11 from drob/add-test
...
Adds a smoke test for copying with BINARY.
11 years ago
Brian C
1957554301
Merge pull request #10 from drob/handler-leak
...
Fixes another event handler leak.
11 years ago
Dan Robinson
bef3ba5fcd
Adds a smoke test for copying with BINARY.
11 years ago
Dan Robinson
591a11c955
Fixes another event handler leak.
...
It turns out 'error' handlers were leaking as well, although more slowly.
11 years ago
Brian M. Carlson
b40918ddb8
Bump version
11 years ago