Skip to content

Commit

Permalink
[AQUMV] Refactor codes to new file aqumv.c
Browse files Browse the repository at this point in the history
Refactor to external func answer_query_using_materialized_views
with some refinements.
Rename GUC to enable_answer_query_using_materialized_views to
avoid duplicated name with implementation function.
New function aqumv_init_context() to init context of rewrite.

Authored-by: Zhang Mingli avamingli@gmail.com
  • Loading branch information
avamingli committed Dec 5, 2023
1 parent 2ffc7e6 commit 5a663d7
Show file tree
Hide file tree
Showing 15 changed files with 885 additions and 819 deletions.
3 changes: 2 additions & 1 deletion src/backend/optimizer/plan/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ OBJS = \
planner.o \
setrefs.o \
subselect.o \
transform.o
transform.o \
aqumv.o

ifeq ($(enable_orca),yes)
OBJS += orca.o
Expand Down
Loading

0 comments on commit 5a663d7

Please sign in to comment.