Rafa de la Torre
c9157cd1ab
Merge pull request #9 from CartoDB/v2.x-carto-fix-interspersed-messages
...
Fix for interspersed messages
2019-06-04 16:52:35 +02:00
Rafa de la Torre
0acb072906
Update NEW.carto.md with fix for interspersed messages
2019-06-04 16:42:45 +02:00
Rafa de la Torre
645616c2e0
Test interspersed messages emit a warning event
2019-06-04 15:41:59 +02:00
Rafa de la Torre
0c787920a4
Test to assert interspersed messages do not break COPY TO flow
2019-06-04 15:32:10 +02:00
Rafa de la Torre
5fec3a5cc1
Replace console.log with an event
2019-06-04 14:37:04 +02:00
Rafa de la Torre
002a36bcfc
Fix for interspersed messages
...
The way the messages were buffered caused interspersed messages to be
inserted in the middle of CopyData messages disrupting the normal COPY
TO flow.
This fixes it by consuming (adjusting offsets as appropriate) and just
logging them to console, effectively discarding them from the COPY
flow.
2019-06-04 12:21:46 +02:00
Daniel G. Aubert
be101502d9
Merge pull request #8 from CartoDB/copyto-detach-connection-after-done
...
Do not detach streams before finishing
2019-05-24 17:20:37 +02:00
Daniel García Aubert
c865db412b
Update NEWS
2019-05-24 17:11:26 +02:00
Daniel García Aubert
edc0462470
Do not detach streams before finishing
2019-05-24 17:06:47 +02:00
Daniel G. Aubert
d26449cc69
Merge pull request #7 from CartoDB/add-carto-readme
...
Do not set postgres version
2019-05-24 16:55:55 +02:00
Daniel García Aubert
6b12cbc876
Do not set postgres version
2019-05-24 16:47:10 +02:00
Daniel G. Aubert
27ff2465ce
Merge pull request #5 from CartoDB/add-carto-readme
...
Add NEWS Carto
2019-05-24 16:41:51 +02:00
Daniel García Aubert
69b5b60e9f
Add NEWS Carto
2019-05-24 16:34:57 +02:00
jeromew
06cc013e8e
Bump version
2019-03-21 16:05:04 +00:00
jeromew
7115f25ec1
Changelog
2019-03-21 16:03:11 +00:00
jeromew
38f9ebc606
Add benchmark to measure memory usage during copy-from
2019-03-21 15:16:49 +00:00
jeromew
ff39922e86
Add benchmark for copy-from
2019-03-21 13:22:13 +00:00
jeromew
cffae659b8
perf: remove one call to push in copy-from transform loop
2019-03-20 09:21:28 +00:00
jeromew
98d8d8a8e0
Stubs new version
2019-03-19 08:54:53 +00:00
jeromew
abf76d14fc
Bump version
2019-03-19 08:49:24 +00:00
jeromew
abd92ae4ca
Changelog
2019-03-19 08:48:29 +00:00
jeromew
6249052bc8
Add test for copy from client reuse
2019-03-18 17:45:55 +00:00
jeromew
291e257116
Add test for copy-to pg client re-use
2019-03-15 15:15:45 +00:00
jeromew
78c2d834c7
Update Changelog with recent commits
2019-03-15 13:19:13 +00:00
jeromew
2af7ce57b1
Merge branch 'master' of ssh://github.com/brianc/node-pg-copy-streams
2019-03-15 12:27:54 +00:00
jeromew
90480c7cfa
Fix copy-to test intermittent 'unhandled promise rejection' bug
2019-03-15 12:24:54 +00:00
jeromew
df47d58d74
Do not register the pushBufferIfNeeded method on the instance
2019-03-15 10:12:20 +00:00
jeromew
7d546a5c34
Merge pull request #68 from jaweesner/master
...
Update README example to be pq 7.0 compliant
2019-03-15 10:52:45 +01:00
jeromew
9c46a8223e
Stubs next version
2019-03-14 20:04:47 +00:00
jeromew
4ff1971113
Bump version
2019-03-14 18:56:17 +00:00
jeromew
c8661b8afb
fix Makefile tabulation
2019-03-14 18:55:48 +00:00
jeromew
0b716029db
Add major version support in Makefile
2019-03-14 18:52:46 +00:00
jeromew
660931ef1b
Add 2.x changelog
2019-03-14 18:51:42 +00:00
jeromew
e3c2109c5a
Add package-lock.json
2019-03-14 18:30:36 +00:00
jeromew
f01c278615
Improve copy-to overall performance by keeping the in-out chunk balance (ported from CartoDB's fork)
2019-03-14 18:24:15 +00:00
jeromew
1c3271ad06
Do not use deprecated Buffer constructor (ported from CartoDB's fork)
2019-03-14 18:00:12 +00:00
jeromew
43bc2cac7b
Use strict (ported from CartoDB's fork)
2019-03-14 17:49:55 +00:00
jeromew
5e3934b71f
Drop support for old version of Node.js
...
Add support for latest LTS releases and current
2019-03-14 17:34:17 +00:00
jeromew
69f670ab13
Update dev dependencies
2019-03-14 17:30:34 +00:00
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.
2018-04-12 19:36:09 -07:00
jeromew
e15feb199a
README.md: copy-from error and vacuum #26
2016-08-23 12:10:25 +02:00
jeromew
191a4ec16a
Fix documentation of copy-from completion
2016-08-23 11:32:10 +02:00
jeromew
399bff7ed7
Bump version
2016-08-22 16:27:04 +00:00
jeromew
8174e10fb5
Merge pull request #54 from jeromew/upstream-end
...
Test: `end` event should not be triggered 2 times on copy-from
2016-08-22 17:47:29 +02:00
jeromew
f29aef3bba
Merge pull request #53 from jeromew/upstream-frontier
...
Bugfix - wrong tests on chunk frontiers
2016-08-22 17:47:01 +02:00
jeromew
b2e108571e
Issue #54 : We should probably delay the _flush cb() to CommandComplete
2016-07-30 00:08:54 +00:00
jeromew
7003f6070f
Fix issue #54 : end
is being triggered 2 times
2016-07-29 23:51:41 +00:00
jeromew
ade7ab95a0
Test: end
event should not be triggered 2 times on copy-from
2016-07-29 23:47:39 +00:00
jeromew
9ccda04036
Bugfix - Chunk frontiers were not correctly tested
2016-07-28 23:05:50 +00:00
jeromew
a5e532f20b
Bugfix - wrong tests on chunk frontiers
2016-07-28 22:55:02 +00:00