Re: Add new error_action COPY ON_ERROR "log"

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: bharath.rupireddyforpostgres@gmail.com, torikoshia@oss.nttdata.com, david.g.johnston@gmail.com, jian.universality@gmail.com, pgsql-hackers@postgresql.org, aekorotkov@gmail.com
Date: 2024-03-18T05:13:51Z
Lists: pgsql-hackers
On Mon, Mar 18, 2024 at 12:05:17PM +0900, Kyotaro Horiguchi wrote:
> And I believe that CONTEXT, if it exists, is augmentation information
> to the primary messages. The objective of the precedent for the use of
> relname_only was somewhat different, but this use also seems legit.
> 
> In short, I think the distribution between message types (primary and
> context) is fine as it is in the latest patch.

Okay, thanks for the feedback.
--
Michael

Commits

  1. Add new COPY option LOG_VERBOSITY.

  2. Add tests for more row patterns with COPY FROM .. (ON_ERROR ignore)

  3. Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT".