mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Revert b6002a796
This removes "Add Result Cache executor node". It seems that something weird is going on with the tracking of cache hits and misses as highlighted by many buildfarm animals. It's not yet clear what the problem is as other parts of the plan indicate that the cache did work correctly, it's just the hits and misses that were being reported as 0. This is especially a bad time to have the buildfarm so broken, so reverting before too many more animals go red. Discussion: https://postgr.es/m/CAApHDvq_hydhfovm4=izgWs+C5HqEeRScjMbOgbpC-jRAeK3Yw@mail.gmail.com
This commit is contained in:
@ -35,7 +35,6 @@
|
||||
#include "executor/nodeIncrementalSort.h"
|
||||
#include "executor/nodeIndexonlyscan.h"
|
||||
#include "executor/nodeIndexscan.h"
|
||||
#include "executor/nodeResultCache.h"
|
||||
#include "executor/nodeSeqscan.h"
|
||||
#include "executor/nodeSort.h"
|
||||
#include "executor/nodeSubplan.h"
|
||||
@ -293,10 +292,6 @@ ExecParallelEstimate(PlanState *planstate, ExecParallelEstimateContext *e)
|
||||
/* even when not parallel-aware, for EXPLAIN ANALYZE */
|
||||
ExecAggEstimate((AggState *) planstate, e->pcxt);
|
||||
break;
|
||||
case T_ResultCacheState:
|
||||
/* even when not parallel-aware, for EXPLAIN ANALYZE */
|
||||
ExecResultCacheEstimate((ResultCacheState *) planstate, e->pcxt);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -517,10 +512,6 @@ ExecParallelInitializeDSM(PlanState *planstate,
|
||||
/* even when not parallel-aware, for EXPLAIN ANALYZE */
|
||||
ExecAggInitializeDSM((AggState *) planstate, d->pcxt);
|
||||
break;
|
||||
case T_ResultCacheState:
|
||||
/* even when not parallel-aware, for EXPLAIN ANALYZE */
|
||||
ExecResultCacheInitializeDSM((ResultCacheState *) planstate, d->pcxt);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -997,7 +988,6 @@ ExecParallelReInitializeDSM(PlanState *planstate,
|
||||
case T_HashState:
|
||||
case T_SortState:
|
||||
case T_IncrementalSortState:
|
||||
case T_ResultCacheState:
|
||||
/* these nodes have DSM state, but no reinitialization is required */
|
||||
break;
|
||||
|
||||
@ -1067,9 +1057,6 @@ ExecParallelRetrieveInstrumentation(PlanState *planstate,
|
||||
case T_AggState:
|
||||
ExecAggRetrieveInstrumentation((AggState *) planstate);
|
||||
break;
|
||||
case T_ResultCacheState:
|
||||
ExecResultCacheRetrieveInstrumentation((ResultCacheState *) planstate);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@ -1362,11 +1349,6 @@ ExecParallelInitializeWorker(PlanState *planstate, ParallelWorkerContext *pwcxt)
|
||||
/* even when not parallel-aware, for EXPLAIN ANALYZE */
|
||||
ExecAggInitializeWorker((AggState *) planstate, pwcxt);
|
||||
break;
|
||||
case T_ResultCacheState:
|
||||
/* even when not parallel-aware, for EXPLAIN ANALYZE */
|
||||
ExecResultCacheInitializeWorker((ResultCacheState *) planstate,
|
||||
pwcxt);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user