COPY ON_ERROR
COPY FROM error tolerance: ON_ERROR ignore/set_null, REJECT_LIMIT, error tables and file_fdw support.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · shipped · improved · moderate · 2 commits · +267 / -43 lines
- PostgreSQL 18 · shipped · improved · moderate · 7 commits · +338 / -47 lines
- PostgreSQL 17 · shipped · new · moderate · 8 commits · +528 / -111 lines
- PostgreSQL 16 · worked-on · new · moderate
- PostgreSQL 15 · worked-on · new · moderate
Threads
- file_fdw: Fix ANALYZE does not enforce REJECT_LIMIT with on_error 'ignore'
- Fix stale column context after COPY FROM conversion errors
- BUG #19844: COPY ON_ERROR set_null error context names the wrong column
- [Bug] Heap use-after-free in COPY FROM error context after ON_ERROR ignore skips a row
- on_error table, saving error info to a table
- COPY ON_CONFLICT TABLE; save duplicated record to another table.
- COPY FROM ON_ERROR SET_NULL bypasses domain NOT NULL with partial column list
- Fix bug of COPY (on_error set_null)
- Review observations for COPY ON_ERROR_TABLE patch
- Change COPY ... ON_ERROR ignore to ON_ERROR ignore_row
- expand on_error ignore error handling scope
- Bug in copy
- Add reject_limit option to file_fdw
- Remove a unnecessary backslash in CopyFrom
- Add new COPY option REJECT_LIMIT
- Add on_error and log_verbosity options to file_fdw
- VLDB Features
- Add new error_action COPY ON_ERROR "log"
- Small fix on COPY ON_ERROR document
- Add tuples_skipped to pg_stat_progress_copy
- Fwd: POC PATCH: copy from ... exceptions to: (was Re: VLDB Features)
- Conflict handling for COPY FROM
- GSOC'17 project introduction: Parallel COPY execution with errors handling