pgsql: Fix erroneous memory context switch in autovacuum, which was

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix erroneous memory context switch in autovacuum, which was
Date: 2009-01-20 12:17:24
Message-ID: 20090120121724.1CF9C754878@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix erroneous memory context switch in autovacuum, which was returning to a
context long after it had been destroyed.

Per problem report from Justin Pasher. Patch by Tom Lane and me.

8.3 and later do not have this bug, because this code has been restructured for
unrelated reasons. In 8.2 it does not manifest as a crash, but it still seems
safer fixing it nonetheless.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
autovacuum.c (r1.29.2.1 -> r1.29.2.2)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c?r1=1.29.2.1&r2=1.29.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2009-01-20 12:17:29 pgsql: Fix erroneous memory context switch in autovacuum, which was
Previous Message Peter Eisentraut 2009-01-20 09:58:50 pgsql: Do not msgmerge against /dev/null; merge against the pot file