Re: pgsql: Further thoughts about temp_file_limit patch. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Further thoughts about temp_file_limit patch.
Date
Msg-id 22511.1311087442@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Further thoughts about temp_file_limit patch.  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
List pgsql-committers
=?ISO-8859-1?Q?C=E9dric_Villemain?= <cedric.villemain.debian@gmail.com> writes:
> How does it sound to remove the stat() call used when log_temp_file is
> set in favor of fileSize that we now have ?

I'd just as soon keep the stat call --- it's relatively cheap and it
guarantees an accurate answer.

            regards, tom lane

pgsql-committers by date:

Previous
From: Cédric Villemain
Date:
Subject: Re: pgsql: Further thoughts about temp_file_limit patch.
Next
From: Robert Haas
Date:
Subject: pgsql: Some refinement for the "fast path" lock patch.