[COMMITTERS] pgsql: Simplify autovacuum work-item implementation

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема [COMMITTERS] pgsql: Simplify autovacuum work-item implementation
Дата
Msg-id E1dhjAb-0000Kg-Nl@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Simplify autovacuum work-item implementation

The initial implementation of autovacuum work-items used a dynamic
shared memory area (DSA).  However, it's argued that dynamic shared
memory is not portable enough, so we cannot rely on it being supported
everywhere; at the same time, autovacuum work-items are now a critical
part of the server, so it's not acceptable that they don't work in the
cases where dynamic shared memory is disabled.  Therefore, let's fall
back to a simpler implementation of work-items that just uses
autovacuum's main shared memory segment for storage.

Discussion: https://postgr.es/m/CA+TgmobQVbz4K_+RSmiM9HeRKpy3vS5xnbkL95gSEnWijzprKQ@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f2f9fcb3030ba67b4347a44b18b201f84d23997b

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 318 +++++++-----------------------------
1 file changed, 63 insertions(+), 255 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Make simpler-simple-expressions code cope with a Gather plan.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: psql: Add tab completion for \pset pager