| From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Initialize index stats during parallel VACUUM. |
| Date: | 2022-08-19 00:38:57 |
| Message-ID: | E1oOq2K-000Bqi-Nv@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 <sawada(dot)mshk(at)gmail(dot)com>
Reported-By: Justin Pryzby <pryzby(at)telsasoft(dot)com>
Discussion: https://postgr.es/m/20220818133406.GL26426@telsasoft.com
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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2022-08-19 01:02:41 | pgsql: doc: Improve some markups and some wording around archiving modu |
| Previous Message | Jeff Davis | 2022-08-18 21:24:13 | pgsql: Use correct LSN for error reporting in pg_walinspect |