OSDN Git Service

Fix inappropriately-timed memory context switch in autovacuum_do_vac_analyze.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Mar 2008 23:49:28 +0000 (23:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Mar 2008 23:49:28 +0000 (23:49 +0000)
commit4873c96ff3f38b51b29c86ede658343be01f519f
tree62f6633bdbf591ce694895270d3131799c0141a5
parent4844529ce4312e2326c847431fac9ee067640a2c
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