- Notifications
You must be signed in to change notification settings - Fork28
Commit2d83e7c
committed
query_tree_mutator should copy RangeTblEntry nodes even when it's not
planning to modify them itself. Otherwise we end up with shared RTEsubstructure, which breaks inheritance_planner because the rte->inhflag needs to be independent in each copied subquery. Per bug reportfrom Chris Piker.1 parentee71929 commit2d83e7c
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
2960 | 2960 | | |
2961 | 2961 | | |
2962 | 2962 | | |
| 2963 | + | |
2963 | 2964 | | |
2964 | 2965 | | |
2965 | 2966 | | |
2966 | 2967 | | |
2967 | | - | |
| 2968 | + | |
2968 | 2969 | | |
2969 | 2970 | | |
2970 | 2971 | | |
2971 | 2972 | | |
2972 | | - | |
2973 | 2973 | | |
2974 | 2974 | | |
2975 | | - | |
2976 | 2975 | | |
2977 | 2976 | | |
2978 | 2977 | | |
2979 | 2978 | | |
2980 | 2979 | | |
2981 | | - | |
2982 | 2980 | | |
2983 | | - | |
2984 | 2981 | | |
2985 | 2982 | | |
2986 | 2983 | | |
2987 | | - | |
2988 | 2984 | | |
2989 | | - | |
2990 | 2985 | | |
2991 | 2986 | | |
2992 | | - | |
| 2987 | + | |
2993 | 2988 | | |
2994 | 2989 | | |
2995 | 2990 | | |
| |||
0 commit comments
Comments
(0)