Commit graph

1 commit

Author SHA1 Message Date
Yugo Nagata
9972f279c4 Add CTE support in IVM
Simple CTEs which does not contain aggregates or DISTINCT are now
supported similarly to simple sub-queries.

Before a view is maintained, all CTEs are converted to corresponding
subqueries to enable to treat CTEs as same as subqueries. For this
end, codes of the static fnction inline_cte in the core
(optimizer/plan/subselect.c) was imported.
2023-01-26 17:00:50 +09:00