fix upsert core and cross-partition upsert
This commit is contained in:
@ -432,6 +432,7 @@ typedef struct ModifyTable {
|
||||
List* updateTlist; /* List of UPDATE target */
|
||||
List* exclRelTlist; /* target list of the EXECLUDED pseudo relation */
|
||||
Index exclRelRTIndex; /* RTI of the EXCLUDED pseudo relation */
|
||||
bool partKeyUpsert;
|
||||
|
||||
OpMemInfo mem_info; /* Memory info for modify node */
|
||||
} ModifyTable;
|
||||
|
||||
@ -1398,6 +1398,7 @@ typedef struct UpsertExpr {
|
||||
List* updateTlist; /* List of UPDATE TargetEntrys */
|
||||
List* exclRelTlist; /* tlist of the 'EXCLUDED' pseudo relation */
|
||||
int exclRelIndex; /* RT index of 'EXCLUDED' relation */
|
||||
bool partKeyUpsert; /* we allow upsert index key and partition key in B_FORMAT */
|
||||
} UpsertExpr;
|
||||
|
||||
#endif /* PRIMNODES_H */
|
||||
|
||||
Reference in New Issue
Block a user