pgsql: Allocate access strategy in parallel VACUUM workers.

2021-04-11 Thread Amit Kapila
Allocate access strategy in parallel VACUUM workers. Currently, parallel vacuum workers don't use any buffer access strategy. We can fix it either by propagating the access strategy from a leader or allow each worker to use BAS_VACUUM access strategy type. We don't see much use in propagating this

pgsql: Allocate access strategy in parallel VACUUM workers.

2021-04-05 Thread Peter Geoghegan
Allocate access strategy in parallel VACUUM workers. Commit 49f49def took entirely the wrong approach to fixing this issue. Just allocate a local buffer access strategy in each individual worker instead of trying to propagate state. This state was never propagated by parallel VACUUM in the first