Satoshi Nagayasu <[EMAIL PROTECTED]> writes: > 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? regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match