Daniel García Aubert
5ff2cf6746
Stubs next version
6 years ago
Daniel García Aubert
94c8d89aba
Release v1.2.0-carto.3
6 years ago
Daniel G. Aubert
c19ab0746c
Merge pull request #3 from CartoDB/nodejs-10
...
Suport Node.js 10 LTS
6 years ago
Daniel García Aubert
a27bd1fd8f
Prepare next release
6 years ago
Daniel García Aubert
01ab20fce2
Add note to README
6 years ago
Daniel García Aubert
d55dbe70d5
Do not use deprecated Buffer constructor
6 years ago
Daniel García Aubert
de47558628
Support 'package-lock.json'
6 years ago
Daniel García Aubert
38c78677e8
Drop support for old version of Node.js and support latest LTS releases
6 years ago
Daniel García Aubert
6f1d5cb4a5
Release v1.2.0-carto.2
6 years ago
Daniel G. Aubert
99d397956c
Merge pull request #2 from CartoDB/use-strict
...
Use strict mode
6 years ago
Daniel García Aubert
c85f7d27b8
Update NEWS
6 years ago
Daniel García Aubert
8b355b6e72
Use strict
6 years ago
Rafa de la Torre
d7e5c1383f
Update v1.2.0-carto.1 release date
6 years ago
Rafa de la Torre
cb2227d159
Merge pull request #1 from CartoDB/performance-tune-copy-to
...
Improve performance of COPY TO
6 years ago
Rafa de la Torre
7930d1b8dd
Add entry to changelog
6 years ago
Rafa de la Torre
e94fefe902
Merge branch 'v1.2-carto' into performance-tune-copy-to
6 years ago
Rafa de la Torre
9293926047
Add a NEWS.carto.md with the changelog
6 years ago
Rafa de la Torre
fd3cc95573
Remove unused var buffer_sent
6 years ago
Rafa de la Torre
922627daaf
Small refactor
6 years ago
Rafa de la Torre
61bc713e0c
Improve performance of COPY TO #56
...
Under some circumstances, the COPY TO streamming can be CPU-bound,
particularly when PG holds the resultset in memory buffers and the size
of the rows << chunk (64 KB in my linux box).
This commits improves the situation by creating a buffer of `chunk`
size and fitting in as many rows as it can before pushing them. This
results in more balanced read and writes (in terms of size and in bigger
chunks) as well as more frequent calls to the callback, thus freeing the
main loop for other events to be processed, and therefore avoiding
starvation.
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