Re: Please implement a catch-all error handler per row, for COPY - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Please implement a catch-all error handler per row, for COPY
Date
Msg-id c7b85d55-e5bb-4677-84f9-d560b6c21285@aklaver.com
Whole thread Raw
In response to Please implement a catch-all error handler per row, for COPY  (me nefcanto <sn.1361@gmail.com>)
List pgsql-general
On 3/1/25 07:18, me nefcanto wrote:
> Hello
> 
>
> All of these scenarios are such that data sanitation is difficult if not 
> possible before doing the bulk operation (copy).
> 
> I realized that when we specify `on_error ignore` it just handles a 
> handful of errors. I thought this was a bug and sent an email to the 
> pgsql-bugs maling list. But they said it's the intended behavior.
> 

Take a look at:

http://ossc-db.github.io/pg_bulkload/index.html

and

https://pgloader.io/

They may be able to meet your needs.

> 
> Regards
> Saeed

-- 
Adrian Klaver
adrian.klaver@aklaver.com




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Please implement a catch-all error handler per row, for COPY
Next
From: "David G. Johnston"
Date:
Subject: Re: Please implement a catch-all error handler per row, for COPY