postgresql/src/include/commands
Fujii Masao 4ac2a9bece Add REJECT_LIMIT option to the COPY command.
Previously, when ON_ERROR was set to 'ignore', the COPY command
would skip all rows with data type conversion errors, with no way to
limit the number of skipped rows before failing.

This commit introduces the REJECT_LIMIT option, allowing users to
specify the maximum number of erroneous rows that can be skipped.
If more rows encounter data type conversion errors than allowed by
REJECT_LIMIT, the COPY command will fail with an error, even when
ON_ERROR = 'ignore'.

Author: Atsushi Torikoshi
Reviewed-by: Junwang Zhao, Kirill Reshke, jian he, Fujii Masao
Discussion: https://postgr.es/m/63f99327aa6b404cc951217fa3e61fe4@oss.nttdata.com
2024-10-08 18:19:58 +09:00
..
alter.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
async.h Improve performance of subsystems on top of SLRU 2024-02-28 17:05:31 +01:00
cluster.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
collationcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
comment.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
conversioncmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
copy.h Add REJECT_LIMIT option to the COPY command. 2024-10-08 18:19:58 +09:00
copyfrom_internal.h Revert "Refactor CopyReadAttributes{CSV,Text}() to use a callback in COPY FROM" 2024-02-14 10:07:22 +09:00
createas.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
dbcommands.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
dbcommands_xlog.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
defrem.h Add temporal FOREIGN KEY contraints 2024-09-17 11:29:30 +02:00
discard.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
event_trigger.h Remove ObjectClass type 2024-03-26 10:08:56 +01:00
explain.h Introduce an RTE for the grouping step 2024-09-10 12:35:34 +09:00
extension.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
lockcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
matview.h Add is_create parameter to RefreshMatviewByOid(). 2024-07-31 16:42:19 -07:00
policy.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
portalcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
prepare.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
proclang.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
progress.h Reintroduce dead tuple counter in pg_stat_progress_vacuum. 2024-06-14 10:08:15 +09:00
publicationcmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
schemacmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
seclabel.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
sequence.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
subscriptioncmds.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
tablecmds.h Reintroduce MAINTAIN privilege and pg_maintain predefined role. 2024-03-13 14:49:26 -05:00
tablespace.h Move all extern declarations for GUC variables to header files 2024-07-24 06:31:07 +02:00
trigger.h Revert: Allow locking updated tuples in tuple_update() and tuple_delete() 2024-04-11 16:01:34 +03:00
typecmds.h Repair ALTER EXTENSION ... SET SCHEMA. 2024-05-09 12:19:52 -04:00
user.h Add new GUC createrole_self_grant. 2023-01-10 12:44:49 -05:00
vacuum.h revert: Generalize relation analyze in table AM interface 2024-04-16 13:14:20 +03:00
view.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
waitlsn.h Move pg_wal_replay_wait() to xlogfuncs.c 2024-09-19 14:26:11 +03:00