pgsql: Avoid crash in interrupted autovacuum worker, caused by leaving

Поиск
Список
Период
Сортировка
От alvherre@postgresql.org (Alvaro Herrera)
Тема pgsql: Avoid crash in interrupted autovacuum worker, caused by leaving
Дата
Msg-id 20070630040805.4E9759FB692@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Avoid crash in interrupted autovacuum worker, caused by leaving the current
memory context pointing at a context not long lived enough.

Also, create a fake PortalContext where to store the vac_context, if only
to avoid having it be a top-level memory context.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        autovacuum.c (r1.52 -> r1.53)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c.diff?r1=1.52&r2=1.53)

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

Предыдущее
От: pgunittest@pgfoundry.org (User Pgunittest)
Дата:
Сообщение: pgunittest - pgUnitTest:
Следующее
От: h-saito@pgfoundry.org (User H-saito)
Дата:
Сообщение: pgsnmpd - pgsnmpd: Although this is unnecessary,it exists here.