jeromew
38f9ebc606
Add benchmark to measure memory usage during copy-from
6 years ago
jeromew
ff39922e86
Add benchmark for copy-from
6 years ago
jeromew
cffae659b8
perf: remove one call to push in copy-from transform loop
6 years ago
jeromew
98d8d8a8e0
Stubs new version
6 years ago
jeromew
abf76d14fc
Bump version
6 years ago
jeromew
abd92ae4ca
Changelog
6 years ago
jeromew
6249052bc8
Add test for copy from client reuse
6 years ago
jeromew
291e257116
Add test for copy-to pg client re-use
6 years ago
jeromew
78c2d834c7
Update Changelog with recent commits
6 years ago
jeromew
2af7ce57b1
Merge branch 'master' of ssh://github.com/brianc/node-pg-copy-streams
6 years ago
jeromew
90480c7cfa
Fix copy-to test intermittent 'unhandled promise rejection' bug
6 years ago
jeromew
df47d58d74
Do not register the pushBufferIfNeeded method on the instance
6 years ago
jeromew
7d546a5c34
Merge pull request #68 from jaweesner/master
...
Update README example to be pq 7.0 compliant
6 years ago
jeromew
9c46a8223e
Stubs next version
6 years ago
jeromew
4ff1971113
Bump version
6 years ago
jeromew
c8661b8afb
fix Makefile tabulation
6 years ago
jeromew
0b716029db
Add major version support in Makefile
6 years ago
jeromew
660931ef1b
Add 2.x changelog
6 years ago
jeromew
e3c2109c5a
Add package-lock.json
6 years ago
jeromew
f01c278615
Improve copy-to overall performance by keeping the in-out chunk balance (ported from CartoDB's fork)
6 years ago
jeromew
1c3271ad06
Do not use deprecated Buffer constructor (ported from CartoDB's fork)
6 years ago
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
jaweesner
455e170084
Update to be pq 7.0 compilant
...
pg singletons are no longer supported according to https://node-postgres.com/guides/upgrading , updated example to reflect upgrade changes.
7 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