Re: autovacuum: found orphan temp table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: autovacuum: found orphan temp table
Дата
Msg-id 3525.1404314285@sss.pgh.pa.us
обсуждение исходный текст
Ответ на autovacuum: found orphan temp table  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> While it is obvious what is happening in $SUBJECT as well as reasonably 
> obvious why it can happen. What isn't obvious is what to do about it. It 
> seems we log in as a super user and drop the temp tables.

You don't need to do anything --- the table will go away the next time
a session makes use of that pg_stat_temp schema.

> However, I would think if we know that it is orphaned that autovacuum 
> should just clean those up?

That seems to me to be outside the charter of autovacuum, particularly
since orphan tables might be of interest for forensic reasons.
        regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: autovacuum: found orphan temp table
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: 9.5 CF1