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/executor/execMain.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/executor/execMain.c')
-rw-r--r-- | src/backend/executor/execMain.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 493ec2b1af1..82b05dc4d1b 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -26,7 +26,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.330 2009/10/05 19:24:37 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.331 2009/10/08 22:34:57 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1704,7 +1704,6 @@ ExecSelect(TupleTableSlot *slot, EState *estate) { (*dest->receiveSlot) (slot, dest); - IncrRetrieved(); (estate->es_processed)++; } @@ -1800,7 +1799,6 @@ ExecInsert(TupleTableSlot *slot, newId = heap_insert(resultRelationDesc, tuple, estate->es_output_cid, 0, NULL); - IncrAppended(); (estate->es_processed)++; estate->es_lastoid = newId; setLastTid(&(tuple->t_self)); @@ -1908,7 +1906,6 @@ ldelete:; return; } - IncrDeleted(); (estate->es_processed)++; /* @@ -2089,7 +2086,6 @@ lreplace:; return; } - IncrReplaced(); (estate->es_processed)++; /* @@ -3042,8 +3038,6 @@ intorel_receive(TupleTableSlot *slot, DestReceiver *self) myState->bistate); /* We know this is a newly created relation, so there are no indexes */ - - IncrAppended(); } /* |