!2475 【bugfixed】解决物化视图存在recursive 语句和level等字段时, 导出的 sql 不对的问题

Merge pull request !2475 from laishenghao/mat-view
This commit is contained in:
opengauss-bot
2022-11-29 03:36:31 +00:00
committed by Gitee
11 changed files with 44 additions and 4 deletions

View File

@ -114,6 +114,7 @@ extern const uint32 PLAN_SELECT_VERSION_NUM;
extern const uint32 ON_UPDATE_TIMESTAMP_VERSION_NUM;
extern const uint32 STANDBY_STMTHIST_VERSION_NUM;
extern const uint32 PG_AUTHID_PASSWORDEXT_VERSION_NUM;
extern const uint32 MAT_VIEW_RECURSIVE_VERSION_NUM;
extern void register_backend_version(uint32 backend_version);
extern bool contain_backend_version(uint32 version_number);

View File

@ -1254,6 +1254,7 @@ typedef struct TargetEntry {
* final target list */
Index rtindex; /* used when multiple modifying. It indicates the resultRelation
* to which this TLE belongs. */
bool isStartWithPseudo;
} TargetEntry;
/* mainly support Start with */