pgsql: Fix inappropriately-timed memory context switch in

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix inappropriately-timed memory context switch in
Date: 2008-03-14 23:49:28
Message-ID: 20080314234928.3AFE37558DB@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Modified Files:
--------------
pgsql/src/backend/postmaster:
autovacuum.c (r1.73 -> r1.74)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c?r1=1.73&r2=1.74)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2008-03-14 23:49:33 pgsql: Fix inappropriately-timed memory context switch in
Previous Message User Talliesin 2008-03-14 20:58:27 npgsql - Npgsql2: