pgsql: Fix erroneous memory context switch in autovacuum, which was
pgsql: Fix erroneous memory context switch in autovacuum, which was
От:
alvherre@postgresql.org (Alvaro Herrera)
Дата:
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_1_STABLE
Modified Files:
--------------
pgsql/src/backend/postmaster:
autovacuum.c (r1.5.2.8 -> r1.5.2.9)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c?r1=1.5.2.8&r2=1.5.2.9)