pgsql: Rename COPY option from SAVE_ERROR_TO to ON_ERROR

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename COPY option from SAVE_ERROR_TO to ON_ERROR
Date: 2024-01-19 13:35:27
Message-ID: E1rQp1r-0029Lu-PZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2024-01-19 14:26:13 Re: pgsql: Clean up role created in new subscription test.
Previous Message John Naylor 2024-01-19 06:28:38 pgsql: Fixed misspelled byteswap function for big endian machines