Re: Improvements and additions to COPY progress reporting
Matthias van de Meent <boekewurm+postgres@gmail.com>
From: Matthias van de Meent <boekewurm+postgres@gmail.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Cc: Josef Šimánek <josef.simanek@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Tomas Vondra <tomas.vondra@enterprisedb.com>
Date: 2021-02-12T11:23:34Z
Lists: pgsql-hackers
Attachments
- v4-0004-Add-a-command-column-to-the-copy-progress-view.patch (text/x-patch) patch v4-0004
- v4-0006-Add-copy-progress-reporting-regression-tests.patch (text/x-patch) patch v4-0006
- v4-0002-Rename-lines-to-tuples-in-COPY-progress-reporting.patch (text/x-patch) patch v4-0002
- v4-0003-Add-backlinks-to-progress-reporting-documentation.patch (text/x-patch) patch v4-0003
- v4-0005-Add-a-io_target-column-to-the-copy-progress-view.patch (text/x-patch) patch v4-0005
- v4-0001-Add-progress-reporting-for-excluded-rows.patch (text/x-patch) patch v4-0001
On Thu, 11 Feb 2021 at 15:44, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> wrote: > > > On Thu, Feb 11, 2021, 8:08 PM Josef Šimánek <josef.simanek@gmail.com> wrote: >> I have split it since it should be the start of progress reporting >> testing at all. If you better consider this as part of COPY testing, >> feel free to move it to already existing copy testing related files. >> There's no real reason to keep it separated if not needed. > > > +1 to move those test cases to existing copy test files. Thanks for your reviews. PFA v4 of the patchset, in which the tests are put into copy.sql (well, input/copy.source). This also adds tests for correctly reporting COPY ... FROM 'file'. I've changed the notice-alerted format from manually naming each column to calling to_jsonb and removing the unstable columns from the reported value; this should therefore be stable and give direct notice to changes in the view. With regards, Matthias van de Meent.
Commits
-
Add some basic tests for progress reporting of COPY
- 15639d5e8f6f 14.0 landed
-
Add support for more progress reporting in COPY
- 9d2d45700928 14.0 landed
-
doc: Add backlinks to progress reporting documentation
- 8a8f4d8ede28 14.0 landed