Re: Open items - Mailing list pgsql-hackers

From Satoshi Nagayasu
Subject Re: Open items
Date
Msg-id 42C39598.70301@nttdata.co.jp
Whole thread Raw
In response to Re: Open items  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Open items
List pgsql-hackers
Tom Lane wrote:
>>My patch counts inittapes(), tuplesort_begin_heap() and
>>tuplesort_begin_index(), and collect them, and sum them through the
>>stat collector.
> 
> 
> Hm, that doesn't seem like quite the right level to be counting at.
> Shouldn't you be hacking fd.c to count operations on FD_XACT_TEMPORARY
> files?

Why do you think so?
I don't see tuplesort.c is good or not.

But all code of sort operations are in tuplesort.c.
So I thought it is a good place to count them up.

Of course, I can move my code to fd.c if it will be reasonable.

-- 
NAGAYASU Satoshi <nagayasus@nttdata.co.jp>


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Build errors latest CVS freebsd
Next
From: falcon
Date:
Subject: Re: contrib/rtree_gist into core system?