Satoshi Nagayasu <nagayasus@nttdata.co.jp> writes:
> Tom Lane wrote:
>> 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.
The TODO item is about counting all temporary files, not sorts in
particular. Or at least that's what I thought it meant.
regards, tom lane