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: Michael Paquier <michael@paquier.xyz>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, Justin Pryzby <pryzby@telsasoft.com>, Tomas Vondra <tomas.vondra@enterprisedb.com>, Josef Šimánek <josef.simanek@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2021-03-04T11:32:38Z
Lists: pgsql-hackers
Attachments
- v11-0003-Add-copy-progress-reporting-regression-tests.patch (text/x-patch) patch v11-0003
- v11-0002-Add-backlinks-to-progress-reporting-documentatio.patch (text/x-patch) patch v11-0002
- v11-0001-Add-progress-reported-components-for-COPY-progre.patch (text/x-patch) patch v11-0001
On Thu, 4 Mar 2021 at 11:38, Michael Paquier <michael@paquier.xyz> wrote: > > On Thu, Mar 04, 2021 at 12:16:17PM +0530, Bharath Rupireddy wrote: > > IMO, the phrasing proposed by Justin upthread looks good. It's like this: > > > > > + Each backend running <command>ANALYZE</command> will report its progress in > > > + the <structname>pg_stat_progress_analyze</structname> view. See > > No objections to just go with that. As a new patch set is needed, I > am switching the CF entry to "Waiting on Author". Thanks for all your comments, and sorry for the delayed response. Please find attached a new version of the patch set, that is rebased and contains the requested changes: 1/3: Docs: - on which the COPY command is executed + on which the COPY command is being executed Reworded existing commment: - /* Increment amount of processed tuples and update the progress */ + /* Increment the number of processed tuples, and report the progress */ 2/3: Docs: - ... report its progress to ... + ... report its progress in ... - report its progress to the >pg_stat_progress_cluster< ... + report its progress in the >pg_stat_progress_cluster< view ... 3/3: No changes I believe that that was the extent of the not-yet-resolved comments and suggestions. 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