Re: optimizing CleanupTempFiles - Mailing list pgsql-hackers

From Tom Lane
Subject Re: optimizing CleanupTempFiles
Date
Msg-id 29105.1221688489@sss.pgh.pa.us
Whole thread Raw
In response to Re: optimizing CleanupTempFiles  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: optimizing CleanupTempFiles
List pgsql-hackers
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.

I concur that the explicit test on SizeVfdCache > 0 is a waste of
effort, too.  It'll nearly always be true anyway.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: optimizing CleanupTempFiles
Next
From: Simon Riggs
Date:
Subject: Re: optimizing CleanupTempFiles