Re: PROC_VACUUM_FOR_WRAPAROUND doesn't work expectedly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PROC_VACUUM_FOR_WRAPAROUND doesn't work expectedly
Дата
Msg-id 3923.1205537332@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PROC_VACUUM_FOR_WRAPAROUND doesn't work expectedly  ("Pavan Deolasee" <pavan.deolasee@gmail.com>)
Ответы Re: PROC_VACUUM_FOR_WRAPAROUND doesn't work expectedly  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
"Pavan Deolasee" <pavan.deolasee@gmail.com> writes:
> I also noticed that inside autovacuum_do_vac_analyze(), we save the old
> context (which is TopTransactionContext) and restore it back after vacuum()
> returns. But vacuum() might have started a new transaction invalidating the
> saved context. Do we see any problem here ?

I agree, that looks pretty darn bogus.  The other problem with it is
that it's running vacuum() in an indefinite-lifespan context.  Perhaps
that has something to do with the report we saw awhile back of autovac
leaking memory ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Commit fest?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Commit fest?