pgsql: Fix inappropriately-timed memory context switch in

Started by Tom Laneover 18 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Log Message:
-----------
Fix inappropriately-timed memory context switch in autovacuum_do_vac_analyze.
This accidentally failed to fail before 8.3, because the context we were
switching back to was long-lived anyway; but it sure looks risky as can be
now. Well spotted by Pavan Deolasee.

Tags:
----
REL8_3_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
autovacuum.c (r1.71.2.2 -> r1.71.2.3)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c?r1=1.71.2.2&r2=1.71.2.3)