Re: Add index scan progress to pg_stat_progress_vacuum
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: "Imseih (AWS), Sami" <simseih@amazon.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>,
Masahiko Sawada <sawada.mshk@gmail.com>, Andres Freund <andres@anarazel.de>, Robert Haas <robertmhaas@gmail.com>, "Bossart, Nathan" <bossartn@amazon.com>, Peter Geoghegan <pg@bowt.ie>,
Justin Pryzby <pryzby@telsasoft.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2023-01-03T10:49:03Z
Lists: pgsql-hackers
On Mon, 2 Jan 2023 at 10:04, Imseih (AWS), Sami <simseih@amazon.com> wrote: > > > cfbot is complaining that this patch no longer applies. Sami, would you > > mind rebasing it? > > Rebased patch attached. CFBot shows some compilation errors as in [1], please post an updated version for the same: [07:01:58.889] In file included from ../../../src/include/postgres.h:47, [07:01:58.889] from vacuumparallel.c:27: [07:01:58.889] vacuumparallel.c: In function ‘parallel_vacuum_update_progress’: [07:01:58.889] vacuumparallel.c:1118:10: error: ‘IsParallelWorker’ undeclared (first use in this function); did you mean ‘ParallelWorkerMain’? [07:01:58.889] 1118 | Assert(!IsParallelWorker); [07:01:58.889] | ^~~~~~~~~~~~~~~~ [07:01:58.889] ../../../src/include/c.h:859:9: note: in definition of macro ‘Assert’ [07:01:58.889] 859 | if (!(condition)) \ [07:01:58.889] | ^~~~~~~~~ [07:01:58.889] vacuumparallel.c:1118:10: note: each undeclared identifier is reported only once for each function it appears in [07:01:58.889] 1118 | Assert(!IsParallelWorker); [07:01:58.889] | ^~~~~~~~~~~~~~~~ [1] - https://cirrus-ci.com/task/4557389261701120 Regards, Vignesh
Commits
-
Report index vacuum progress.
- 46ebdfe164c6 17.0 landed
-
Add new parallel message type to progress reporting.
- f1889729dd3a 17.0 landed
-
Remove MaxBackends variable in favor of GetMaxBackends() function.
- aa64f23b0292 15.0 cited