Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it have a catch-all error handler? #171

Open
Nefcanto opened this issue Feb 25, 2025 · 0 comments
Open

Does it have a catch-all error handler? #171

Nefcanto opened this issue Feb 25, 2025 · 0 comments

Comments

@Nefcanto
Copy link

Hello

I found your repository through a Postgres mailing list thread. Here is my problem. I want to have a catch-all error handler for bulk operation. But Postgres's COPY command fails on errors and the ignore error option only ignores some limited errors.

These are my requirements:

  1. Inserting a lot of fake data
  2. Updating nested model calculations for large hierarchical data sets
  3. Inserting a lot of i18n translations

They are not related to ETL, and all of them should be done via the code (Node.js in this case).

So, two questions:

  1. Does pg_bulkload support catch-all errors?
  2. Can it be used and managed via code (Node)?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant