pgsql: Propagate parallel VACUUM's buffer access strategy. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Propagate parallel VACUUM's buffer access strategy.
Date
Msg-id E1lTXEQ-0008Ie-Pr@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Propagate parallel VACUUM's buffer access strategy.

Parallel VACUUM relied on global variable state from the leader process
being propagated to workers on fork().  Commit b4af70cb removed most
uses of global variables inside vacuumlazy.c, but did not account for
the buffer access strategy state.

To fix, propagate the state through shared memory instead.

Per buildfarm failures on elver, curculio, and morepork.

Many thanks to Thomas Munro for off-list assistance with this issue.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/49f49defe7c0a330cca084de5da14ccdfdafc6a3

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 7 +++++++
1 file changed, 7 insertions(+)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: pgsql: Simplify state managed by VACUUM.
Next
From: Tom Lane
Date:
Subject: pgsql: Support INCLUDE'd columns in SP-GiST.