Re: optimizing CleanupTempFiles

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: optimizing CleanupTempFiles
Дата
Msg-id 20080917234339.GJ3855@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: optimizing CleanupTempFiles  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: optimizing CleanupTempFiles
Re: optimizing CleanupTempFiles
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > Ah -- like this?
>
> +1, but there are two kinds of temp files in that module, and only
> one of them is relevant here.  Call it something like
> have_xact_temporary_files to make things clearer.

Ok, so that's what I called it.

Simon wrote:

> if test should include
>         || isProcExit
>
> so you don't skip non-transactional temp files at proc exit when there
> weren't any created in the last transaction.

Yep, I noticed that too.  Thanks.

Should I backpatch this to 8.3?

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Вложения

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: optimizing CleanupTempFiles
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: optimizing CleanupTempFiles