Re: Add new error_action COPY ON_ERROR "log"
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: torikoshia <torikoshia@oss.nttdata.com>, "David G. Johnston" <david.g.johnston@gmail.com>,
jian.universality@gmail.com, Pgsql Hackers <pgsql-hackers@postgresql.org>,
Alexander Korotkov <aekorotkov@gmail.com>
Date: 2024-03-13T02:38:42Z
Lists: pgsql-hackers
Attachments
- v7-0001-Add-LOG_VERBOSITY-option-to-COPY-command.patch (application/x-patch) patch v7-0001
- v7-0002-Add-detailed-info-when-COPY-skips-soft-errors.patch (application/x-patch) patch v7-0002
On Wed, Mar 13, 2024 at 5:16 AM Michael Paquier <michael@paquier.xyz> wrote: > > On Tue, Mar 12, 2024 at 12:54:29PM +0530, Bharath Rupireddy wrote: > > +1. But, do you want to add them now or later as a separate > > patch/discussion altogether? > > The attached 0003 is what I had in mind: > - Simplification of the LOG generated with quotes applied around the > column name, don't see much need to add the relation name, either, for > consistency and because the knowledge is known in the query. > - A few more tests. > - Some doc changes. LGMT. So, I've merged those changes into 0001 and 0002. > >> Wouldn't it be better to squash the patches together, by the way? > > > > I guess not. They are two different things IMV. > > Well, 0001 is sitting doing nothing because the COPY code does not > make use of it internally. Yes. That's why I left a note in the commit message that a future commit will use it. -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Add new COPY option LOG_VERBOSITY.
- f5a227895e17 17.0 landed
-
Add tests for more row patterns with COPY FROM .. (ON_ERROR ignore)
- a189ed49d629 17.0 landed
-
Support writing "CREATE/ALTER TABLE ... SET STORAGE DEFAULT".
- b9424d014e19 16.0 cited