pgsql: Fix progress reporting of CLUSTER / VACUUM FULL

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Fix progress reporting of CLUSTER / VACUUM FULL
Дата
Msg-id E1i8pqS-0003NN-7p@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Fix progress reporting of CLUSTER / VACUUM FULL  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: pgsql: Fix progress reporting of CLUSTER / VACUUM FULL  (Amit Langote <amitlangote09@gmail.com>)
Список pgsql-committers
Fix progress reporting of CLUSTER / VACUUM FULL

The progress state was being clobbered once the first index completed
being rebuilt, causing the final phases of the operation not show
anything in the progress view.  This was inadvertently broken in
03f9e5cba0ee, which added progress tracking for REINDEX.

(The reason this bugfix is this small is that I had already noticed this
problem when writing monitoring for CREATE INDEX, and had already worked
around it, as can be seen in discussion starting at
https://postgr.es/m/20190329150218.GA25010@alvherre.pgsql Fixing the
problem is just a matter of fixing one place touched by the REINDEX
monitoring.)

Reported by: Álvaro Herrera
Author: Álvaro Herrera
Discussion: https://postgr.es/m/20190801184333.GA21369@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6212276e4343f729b0152e81824f850d1a21d57e

Modified Files
--------------
src/backend/catalog/index.c      | 24 +++++++++++++++---------
src/backend/commands/indexcmds.c |  4 ++--
src/include/nodes/parsenodes.h   |  1 +
3 files changed, 18 insertions(+), 11 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Documentation improvements to jsonpath
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix progress reporting of CLUSTER / VACUUM FULL