Re: Cleaning up unreferenced table files

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Cleaning up unreferenced table files
Дата
Msg-id Pine.OSF.4.61.0503060824320.1725@kosh.hut.fi
обсуждение исходный текст
Ответ на Re: Cleaning up unreferenced table files  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Cleaning up unreferenced table files
Список pgsql-patches
On Sat, 5 Mar 2005, Tom Lane wrote:

> Heikki Linnakangas <hlinnaka@iki.fi> writes:
>> Here's a patch for the TODO item "Remove unreferenced table files created by transactions
>> that were in-progress when the server terminated abruptly."
>
> xlog.c is a fairly random place to put that functionality.  Didn't it
> strike any warning bells for you when you had to add so many new
> #includes?  I'm not entirely sure where this should go, but not there.

Yeah actually it did, but I forgot about it along the way. How about
putting it in a file of its own in backend/catalog? There's some code that
also deals with the data directories. Or straight into backend/storage.

- Heikki

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Cleaning up unreferenced table files
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Display Pg buffer cache (WIP)