pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Initialize index stats during parallel VACUUM. 2+ messages / 1 participants [nested] [flat]
* pgsql: Initialize index stats during parallel VACUUM. @ 2022-08-19 00:38 Peter Geoghegan <pg@bowt.ie> 0 siblings, 0 replies; 2+ messages in thread From: Peter Geoghegan @ 2022-08-19 00:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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.mshk@gmail.com> Reported-By: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20220818133406.GL26426@telsasoft.com 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(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Initialize index stats during parallel VACUUM. @ 2022-08-19 00:38 Peter Geoghegan <pg@bowt.ie> 0 siblings, 0 replies; 2+ messages in thread From: Peter Geoghegan @ 2022-08-19 00:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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.mshk@gmail.com> Reported-By: Justin Pryzby <pryzby@telsasoft.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(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2022-08-19 00:38 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-08-19 00:38 pgsql: Initialize index stats during parallel VACUUM. Peter Geoghegan <pg@bowt.ie> 2022-08-19 00:38 pgsql: Initialize index stats during parallel VACUUM. Peter Geoghegan <pg@bowt.ie>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox