Re: error context for vacuum to include block number (atomic progress update)

2020-01-05 Thread Michael Paquier
On Sun, Dec 29, 2019 at 02:17:47PM -0600, Justin Pryzby wrote: > The behavior is different from before, but I think that's ok: the number of > scans is accurate, and the PHASE is accurate, even though it'll change a > moment > later. pgstat_progress_update_multi_param() is useful when it comes to

Re: error context for vacuum to include block number (atomic progress update)

2019-12-29 Thread Justin Pryzby
On Sat, Dec 28, 2019 at 07:21:31PM -0500, Robert Haas wrote: > On Thu, Dec 26, 2019 at 10:57 AM Justin Pryzby wrote: > > I agree that's better. > > I don't see any reason why the progress params need to be updated > > atomically. > > So rebasified against your patch. > > I am not sure whether it