INSERT与REPLACE性能优化合入600

This commit is contained in:
laishenghao
2025-06-04 16:28:53 +08:00
parent 1606ed3f6d
commit 47cdfb7dc0
9 changed files with 1180 additions and 81 deletions

View File

@ -75,6 +75,24 @@ typedef struct OperatorPlusProcessContext {
bool contain_joinExpr;
} OperatorPlusProcessContext;
typedef struct ColumnTypeForm {
Oid originTypOid;
Oid baseTypOid;
int32 typmod;
Oid collid;
int typlen;
bool typbyval;
regproc typinput;
Oid ioParam;
} ColumnTypeForm;
typedef struct ParseColumnCallbackState {
ParseState* pstate;
int location;
ListCell* attrCell;
ErrorContextCallback errcontext;
} ParseColumnCallbackState;
typedef Query* (*transformSelectStmtHook)(ParseState* pstate, SelectStmt* stmt, bool isFirstNode, bool isCreateView);
typedef struct AnalyzerRoutine {