file_fdw: Add on_error and log_verbosity options to file_fdw.
Fujii Masao <fujii@postgresql.org>
file_fdw: Add on_error and log_verbosity options to file_fdw. In v17, the on_error and log_verbosity options were introduced for the COPY command. This commit extends support for these options to file_fdw. Setting on_error = 'ignore' for a file_fdw foreign table allows users to query it without errors, even when the input file contains malformed rows, by skipping the problematic rows. Both on_error and log_verbosity options apply to SELECT and ANALYZE operations on file_fdw foreign tables. Author: Atsushi Torikoshi Reviewed-by: Masahiko Sawada, Fujii Masao Discussion: https://postgr.es/m/ab59dad10490ea3734cf022b16c24cfd@oss.nttdata.com
Files
| Path | Change | +/− |
|---|---|---|
| contrib/file_fdw/expected/file_fdw.out | modified | +19 −0 |
| contrib/file_fdw/file_fdw.c | modified | +91 −16 |
| contrib/file_fdw/sql/file_fdw.sql | modified | +7 −0 |
| doc/src/sgml/file-fdw.sgml | modified | +23 −0 |
Documentation touched
Discussion
- Add on_error and log_verbosity options to file_fdw 18 messages · 2024-07-04 → 2024-10-03