Re: Improvements and additions to COPY progress reporting

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: Matthias van de Meent <boekewurm+postgres@gmail.com>
Cc: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, Josef Šimánek <josef.simanek@gmail.com>, pgsql-hackers@postgresql.org, Tomas Vondra <tomas.vondra@enterprisedb.com>
Date: 2021-02-13T00:37:32Z
Lists: pgsql-hackers
--- a/doc/src/sgml/ref/analyze.sgml                                                                                                                                                                                            
+++ b/doc/src/sgml/ref/analyze.sgml                                                                                                                                                                                            
@@ -273,6 +273,12 @@ ANALYZE [ VERBOSE ] [ <replaceable class="parameter">table_and_columns</replacea                                                                                                                          
     will not record new statistics for that table.  Any existing statistics                                                                                                                                                   
     will be retained.                                                                                                                                                                                                         
   </para>                                                                                                                                                                                                                     
+                                                                                                                                                                                                                              
+  <para>                                                                                                                                                                                                                      
+    Each backend running the <command>ANALYZE</command> command will report their                                                                                                                                             
+    progress to the <structname>pg_stat_progress_analyze</structname> view.                                                                                                                                                   
+    See <xref linkend="analyze-progress-reporting"/> for details.                                                                                                                                                             
+  </para>                                                                                                                                                                                                                     

I think this should say:

"..will report its progress to.."

Or:

"The progress of each backend running >ANALYZE< is reported in the
>pg_stat_progress_analyze< view."

-- 
Justin



Commits

  1. Add some basic tests for progress reporting of COPY

  2. Add support for more progress reporting in COPY

  3. doc: Add backlinks to progress reporting documentation