Re: pgsql: Further thoughts about temp_file_limit patch.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Further thoughts about temp_file_limit patch.
Date: 2011-07-19 14:57:22
Message-ID: 22511.1311087442@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

=?ISO-8859-1?Q?C=E9dric_Villemain?= <cedric(dot)villemain(dot)debian(at)gmail(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-07-19 16:13:07 pgsql: Some refinement for the "fast path" lock patch.
Previous Message Cédric Villemain 2011-07-19 14:33:23 Re: pgsql: Further thoughts about temp_file_limit patch.