Re: Add pg_stat_progress_rewrite view.

2024-12-04 Thread Alvaro Herrera
Hello, On 2024-Dec-04, Kirill Reshke wrote: > Recently, one administrator asked me how to monitor the progress of > his ALTER TABLE... ALTER COLUMN TYPE bigint. > > That leads me to believe that consumers might benefit from having an > API to track the table change process. I agree that trackin

Add pg_stat_progress_rewrite view.

2024-12-04 Thread Kirill Reshke
Hi hackers! Recently, one administrator asked me how to monitor the progress of his ALTER TABLE... ALTER COLUMN TYPE bigint. That leads me to believe that consumers might benefit from having an API to track the table change process. PFA draft patch adding number of tuples (tuples_processed) that