[COMMITTERS] pgsql: Fix error handling path in autovacuum launcher

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема [COMMITTERS] pgsql: Fix error handling path in autovacuum launcher
Дата
Msg-id E1dheqV-0003He-Gf@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix error handling path in autovacuum launcher

The original code (since 00e6a16d01) was assuming aborting the
transaction in autovacuum launcher was sufficient to release all
resources, but in reality the launcher runs quite a lot of code out of
any transactions.  Re-introduce individual cleanup calls to make abort
more robust.

Reported-by: Robert Haas
Discussion: https://postgr.es/m/CA+TgmobQVbz4K_+RSmiM9HeRKpy3vS5xnbkL95gSEnWijzprKQ@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/870da1e1546c9563c5ae45918392cf7bbc7e5b0e

Modified Files
--------------
src/backend/postmaster/autovacuum.c | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Assorted preparatory refactoring for partition-wise join.
Следующее
От: Tom Lane
Дата:
Сообщение: [COMMITTERS] pgsql: Avoid out-of-memory in a hash join with many duplicate innerkey