【资源池化】openGauss算子下推特性合入

1.opengauss内核适配
2.ndpplugin
This commit is contained in:
Mijamind
2023-05-10 14:21:59 +08:00
committed by quemingjian
parent 338028e0f8
commit cb3fa65c63
54 changed files with 6555 additions and 23 deletions

View File

@ -325,6 +325,10 @@ typedef struct Instrumentation {
int ec_libodbc_type; /* ec execute libodbc_type*/
int64 ec_fetch_count; /* ec fetch count*/
RecursiveInfo recursiveInfo;
int ndp_pushdown_page;
int ndp_sendback_page;
int ndp_handled;
} Instrumentation;
/* instrumentation data */

View File

@ -164,6 +164,7 @@ typedef struct TupleTableSlot {
MemoryContext tts_per_tuple_mcxt;
#endif
TableAmType tts_tupslotTableAm; /* slots's tuple table type */
bool tts_ndpAggHandled; /* slot is from ndp backend, handled by aggregate */
} TupleTableSlot;
#define TTS_HAS_PHYSICAL_TUPLE(slot) ((slot)->tts_tuple != NULL && (slot)->tts_tuple != &((slot)->tts_minhdr))