Skip to content

Commit

Permalink
add guard to case
Browse files Browse the repository at this point in the history
  • Loading branch information
ezra-varady committed Oct 5, 2023
1 parent 6653d0c commit dba6144
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/op_rewrite.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ Node *plan_tree_mutator(Plan *plan, void *context)
case T_FunctionScan: // SELECT * FROM fn(x, y, z)
case T_ValuesScan: // VALUES (1), (2)
case T_Material: // https://stackoverflow.com/questions/31410030/
#if PG_VERSION_NUM >= 140000
case T_Memoize: // memoized inner loop must have an index to be memoized
#endif
case T_WorkTableScan: // temporary table, shouldn't have index
case T_ProjectSet: // "execute set returning functions" feels safe to exclude
case T_TableFuncScan: // scan of a function that returns a table, shouldn't have an index
Expand Down

0 comments on commit dba6144

Please sign in to comment.