Fix inappropriately-timed memory context switch in autovacuum_do_vac_analyze.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Mar 2008 23:49:33 +0000 (23:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Mar 2008 23:49:33 +0000 (23:49 +0000)
commitaad05c328511b2de5dd29e9ac56f079bb496a83c
tree97d0cf6c878c98e10506082c2a252fc052a8629e
parente7027d417ab1bfbe206293445274ba31a480b65a
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.
src/backend/postmaster/autovacuum.c