Re: [patch] Concurrent table reindex per-index progress reporting

2020-09-28 Thread Michael Paquier
On Fri, Sep 25, 2020 at 11:32:11AM +0200, Matthias van de Meent wrote: > Updating to WAIT_1 was to set it back to whatever the state was before > we would get into the loop and start_command was called. I quite > apparently didn't take enough care to set all fields that could be > set, though, so t

Re: [patch] Concurrent table reindex per-index progress reporting

2020-09-25 Thread Matthias van de Meent
On Fri, 25 Sep 2020 at 08:44, Michael Paquier wrote: > > On Thu, Sep 24, 2020 at 09:19:18PM +0200, Matthias van de Meent wrote: > > While working on a PG12-instance I noticed that the progress reporting of > > concurrent index creation for non-index relations fails to update the > > index/relation

Re: [patch] Concurrent table reindex per-index progress reporting

2020-09-24 Thread Michael Paquier
On Thu, Sep 24, 2020 at 09:19:18PM +0200, Matthias van de Meent wrote: > While working on a PG12-instance I noticed that the progress reporting of > concurrent index creation for non-index relations fails to update the > index/relation OIDs that it's currently working on in the > pg_stat_progress_c

[patch] Concurrent table reindex per-index progress reporting

2020-09-24 Thread Matthias van de Meent
Hi, While working on a PG12-instance I noticed that the progress reporting of concurrent index creation for non-index relations fails to update the index/relation OIDs that it's currently working on in the pg_stat_progress_create_index view after creating the indexes. Please find attached a patch