Add new COPY option REJECT_LIMIT - Mailing list pgsql-hackers

From torikoshia
Subject Add new COPY option REJECT_LIMIT
Date
Msg-id 63f99327aa6b404cc951217fa3e61fe4@oss.nttdata.com
Whole thread Raw
Responses Re: Add new COPY option REJECT_LIMIT
List pgsql-hackers
Hi,

9e2d870 enabled the COPY command to skip soft error, and I think we can 
add another option which specifies the maximum tolerable number of soft 
errors.

I remember this was discussed in [1], and feel it would be useful when 
loading 'dirty' data but there is a limit to how dirty it can be.

Attached a patch for this.

What do you think?


[1] 
https://www.postgresql.org/message-id/752672.1699474336%40sss.pgh.pa.us


-- 
Regards,

--
Atsushi Torikoshi
NTT DATA Group Corporation
Attachment

pgsql-hackers by date:

Previous
From: Yugo NAGATA
Date:
Subject: Re: Small fix on COPY ON_ERROR document
Next
From: Anthonin Bonnefoy
Date:
Subject: Re: POC: Extension for adding distributed tracing - pg_tracing