pgsql: Make archiver process an auxiliary process.

2021-03-14 Thread Fujii Masao
Make archiver process an auxiliary process. This commit changes WAL archiver process so that it's treated as an auxiliary process and can use shared memory. This is an infrastructure patch required for upcoming shared-memory based stats collector patch series. These patch series basically need any

pgsql: Notice that heap page has dead items during VACUUM.

2021-03-14 Thread Peter Geoghegan
Notice that heap page has dead items during VACUUM. Consistently set a flag variable that tracks whether the current heap page has a dead item during lazy vacuum's heap scan. We missed the common case where there is an preexisting (or even a new) LP_DEAD heap line pointer. Also make it clear tha