Re: [HACKERS] Logging temp file useage ... a little advice

2006-12-30 Thread Bruce Momjian
Perhaps the file is not open at the time you are doing the fstat(). Also, context diffs (diff -c) are clearer for us. --- Bill Moran wrote: > > So I've got this patch (attached, against 8.2) > > The goal is to track temp

Re: [HACKERS] Logging temp file useage ... a little advice wouldbe appreciated

2006-12-29 Thread Simon Riggs
On Fri, 2006-12-29 at 17:53 -0500, Bill Moran wrote: > So I've got this patch (attached, against 8.2) > > The goal is to track temp file usage as an aid to server tuning (such as > work_mem) > > Most of the patch seems to work just dandy, except I'm getting weird > sizes reported: > > 2006-12-29