Re: Bug in new buffering GiST build code

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in new buffering GiST build code
Дата
Msg-id 29091.1338442850@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug in new buffering GiST build code  (Alexander Korotkov <aekorotkov@gmail.com>)
Список pgsql-hackers
Alexander Korotkov <aekorotkov@gmail.com> writes:
> I've one note not directly related to buffering build. While I debugging
> buffering GiST index build, backend was frequently crashed. After recovery
> partially built index file was remain. Do we have some tool to detect such
> "dead" files? If not, probably we need some?

Well, it's not that hard to check for orphan files (I think
contrib/oid2name can do that, or perhaps could be extended to).  I don't
like the idea of the postmaster automatically removing such files, if
that's where you were headed.  Too much risk of deleting important data.
        regards, tom lane


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: [PERFORM] pg_dump and thousands of schemas
Следующее
От: Tom Lane
Дата:
Сообщение: Re: remembering locks and dynahash.c