pgsql: Rename COPY option from SAVE_ERROR_TO to ON_ERROR - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Rename COPY option from SAVE_ERROR_TO to ON_ERROR
Date
Msg-id E1rQp1r-0029Lu-PZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rename COPY option from SAVE_ERROR_TO to ON_ERROR

The option names now are "stop" (default) and "ignore".  The future options
could be "file 'filename.log'" and "table 'tablename'".

Discussion: https://postgr.es/m/20240117.164859.2242646601795501168.horikyota.ntt%40gmail.com
Author: Jian He
Reviewed-by: Atsushi Torikoshi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b725b7eec431f7394d63abe621170efe3fcdcda4

Modified Files
--------------
doc/src/sgml/ref/copy.sgml           | 20 +++++++++----------
src/backend/commands/copy.c          | 38 ++++++++++++++++++------------------
src/backend/commands/copyfrom.c      | 20 +++++++++----------
src/backend/commands/copyfromparse.c |  6 +++++-
src/bin/psql/tab-complete.c          |  8 ++++----
src/include/commands/copy.h          | 10 +++++-----
src/test/regress/expected/copy2.out  | 36 +++++++++++++++++-----------------
src/test/regress/sql/copy2.sql       | 20 +++++++++----------
src/tools/pgindent/typedefs.list     |  2 +-
9 files changed, 82 insertions(+), 78 deletions(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Fixed misspelled byteswap function for big endian machines
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Add stratnum GiST support function