pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename COPY option from SAVE_ERROR_TO to ON_ERROR
Date: Fri, 19 Jan 2024 13:35:27 +0000
Message-ID: <E1rQp1r-0029Lu-PZ@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1rQp1r-0029Lu-PZ@gemulon.postgresql.org>
Permalink:  ../E1rQp1r-0029Lu-PZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rQp1r-0029Lu-PZ@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Rename COPY option from SAVE_ERROR_TO to ON_ERROR
  In-Reply-To: <E1rQp1r-0029Lu-PZ@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox