Initialize index stats during parallel VACUUM.

Initialize shared memory allocated for index stats to avoid a hard
crash.  This was possible when parallel VACUUM became confused about the
current phase of index processing.

Oversight in commit 8e1fae1938, which refactored parallel VACUUM.

Author: Masahiko Sawada <[email protected]>
Reported-By: Justin Pryzby <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Backpatch: 15-, the first version with the refactoring commit.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/08c23f4204066aa86361eb6232d94284aa8dff00

Modified Files
--------------
src/backend/commands/vacuumparallel.c | 1 +
1 file changed, 1 insertion(+)

Reply via email to