node-pg-copy-streams
node-pg-copy-streams copied to clipboard
COPY FROM / COPY TO for node-postgres. Stream from one database to another, and stuff.
I'm creating this issue to discuss solutions (documentation or otherwise) to help folks avoid some of the non-memory related pitfalls on #116 when continuously batching COPY commands. See: https://github.com/brianc/node-pg-copy-streams/issues/116#issuecomment-803643157 >...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
We have a node process that generates a lot of data[^1] and we need to insert it into postgres. Doing an insert per item was terrible (no suprise there), creating...
https://github.com/brianc/node-pg-copy-streams/issues/74 mentions that in the event of an error in your stream, you can close the client. However, often times you want to continue using the connection and instead simply...
Similarly to https://github.com/brianc/node-postgres/issues/3219, `COPY TO` doesn't play nice with `query_timeout`. https://github.com/brianc/node-pg-copy-streams/pull/126 fixed this issue for `COPY FROM`. I've been using this patch for some time now, and it seems to...
The examples don't make reference to this at all, but reading through the pg docs, there is a convenience utility on pool called `query` that is described here: https://node-postgres.com/apis/pool#poolquery >...
Bumps [glob](https://github.com/isaacs/node-glob) from 10.4.5 to 10.5.0. Commits 56774ef 10.5.0 1e4e297 bin: Do not expose filenames to shell expansion See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve...
I was inserting data on a database where the disk is full, so it kept returning error: No space left on device. When I receive an error, I retry the...
update csv-parse from v5 to v6 - - Confirmed that the test passes
change if in else to else if for better readability