]> granicus.if.org Git - postgresql/commit
> I'm not sure why NDirectFileRead/NDirectFileWrite are unused at the
authorBruce Momjian <bruce@momjian.us>
Fri, 20 Sep 2002 03:45:08 +0000 (03:45 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 20 Sep 2002 03:45:08 +0000 (03:45 +0000)
commita834cbe1e91f496145373b18014e181e15cbd0d5
treea6af7dd55895dc8559c0c02b5ec4705150060bbd
parent708a000efea1d0cff59d76c809b4b066a9aca937
> I'm not sure why NDirectFileRead/NDirectFileWrite are unused at the
> moment, but they used to be used; I think the correct response is to
> put back the missing counter increments, not rip out the counters.

Ok, fair enough. It's worth noting that they've been broken for a
while -- for example, the HashJoin counter increments were broken when
you comitted r1.20 of executor/nodeHashJoin.c in May of '99.

I've attached a revised patch that doesn't remove the counters (but
doesn't increment them either: I'm not sure of all the places where
the counter should be incremented).

Neil Conway
src/backend/commands/prepare.c
src/backend/tcop/postgres.c