pgsql: Avoid crash in interrupted autovacuum worker, caused by leaving - Mailing list pgsql-committers

From alvherre@postgresql.org (Alvaro Herrera)
Subject pgsql: Avoid crash in interrupted autovacuum worker, caused by leaving
Date
Msg-id 20070630040805.4E9759FB692@postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: pgunittest@pgfoundry.org (User Pgunittest)
Date:
Subject: pgunittest - pgUnitTest:
Next
From: h-saito@pgfoundry.org (User H-saito)
Date:
Subject: pgsnmpd - pgsnmpd: Although this is unnecessary,it exists here.