diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-10-08 22:34:57 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-10-08 22:34:57 +0000 |
commit | c970292a94e0fff468d500db430d751b6221a0b4 (patch) | |
tree | ea33271f6473aa4ceaf81ba3e7180253ea32f983 /src/backend/tcop/postgres.c | |
parent | 474f825574db680ce638fce9b92254ff35fbc8fd (diff) | |
download | postgresql-c970292a94e0fff468d500db430d751b6221a0b4.tar.gz postgresql-c970292a94e0fff468d500db430d751b6221a0b4.zip |
Remove very ancient tuple-counting infrastructure (IncrRetrieved() and
friends). This code has all been ifdef'd out for many years, and doesn't
seem to have any prospect of becoming any more useful in the future.
EXPLAIN ANALYZE is what people use in practice, and I think if we did want
process-wide counters we'd be more likely to put in dtrace events for that
than try to resurrect this code. Get rid of it so as to have one less detail
to worry about while refactoring execMain.c.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 2371999062a..67deea79624 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.573 2009/09/01 02:54:51 alvherre Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.574 2009/10/08 22:34:57 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -3851,7 +3851,6 @@ ResetUsage(void) getrusage(RUSAGE_SELF, &Save_r); gettimeofday(&Save_t, NULL); ResetBufferUsage(); - /* ResetTupleCount(); */ } void |