aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-10-08 22:34:57 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-10-08 22:34:57 +0000
commitc970292a94e0fff468d500db430d751b6221a0b4 (patch)
treeea33271f6473aa4ceaf81ba3e7180253ea32f983 /src/backend/access/gist
parent474f825574db680ce638fce9b92254ff35fbc8fd (diff)
downloadpostgresql-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/access/gist')
-rw-r--r--src/backend/access/gist/gistget.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/access/gist/gistget.c b/src/backend/access/gist/gistget.c
index e7ca8f64767..a094495b8a9 100644
--- a/src/backend/access/gist/gistget.c
+++ b/src/backend/access/gist/gistget.c
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/gist/gistget.c,v 1.81 2009/06/11 14:48:53 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/gist/gistget.c,v 1.82 2009/10/08 22:34:57 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -388,8 +388,6 @@ gistindex_keytest(IndexTuple tuple,
giststate = so->giststate;
p = BufferGetPage(so->curbuf);
- IncrIndexProcessed();
-
scan->xs_recheck = false;
/*