pgsql: Initialize index stats during parallel VACUUM. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Initialize index stats during parallel VACUUM.
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/662ba729a67e5c6e43efbc5263e1d2c3a72a8741

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


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Use correct LSN for error reporting in pg_walinspect
Next
From: Michael Paquier
Date:
Subject: pgsql: doc: Improve some markups and some wording around archiving modu