Re: Cleaning up unreferenced table files

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Cleaning up unreferenced table files
Дата
Msg-id Pine.OSF.4.61.0504270109540.521717@kosh.hut.fi
обсуждение исходный текст
Ответ на Re: Cleaning up unreferenced table files  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-patches
On Tue, 26 Apr 2005, Heikki Linnakangas wrote:

> On Mon, 25 Apr 2005, Bruce Momjian wrote:
...
>> I guess I am happy with just reporting during startup like the patch
>> does now.
>
> Ok. I'll fix the design issues Tom addressed earlier, add documentation, and
> resubmit.

Here you go.

The new functionality is now separated in a new file
backend/utils/init/cleanup.c.

There was code in many places that constructs the path to a tablespace
directory. I refactored that into a new function called GetTablespacePath
and put it next to GetDatabasePath in catalog.c.

I added a section under the "Routine Database Maintenance Tasks" that
basically gives a heads up that these notifications can appear in the log
after a crash.

- Heikki

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Continue transactions after errors in psql
Следующее
От: John DeSoi
Дата:
Сообщение: Re: [HACKERS] Continue transactions after errors in psql