forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1b5bbe4
committed
Fix EvalPlanQualStart to handle partitioned result rels correctly.
The es_root_result_relations array needs to be shallow-copied in thesame way as the main es_result_relations array, else EPQ rechecks onpartitioned result relations fail, as seen in bug #15677 fromNorbert Benkocs.Amit Langote, isolation test case added by meDiscussion:https://postgr.es/m/15677-0bf089579b4cd02d@postgresql.orgDiscussion:https://postgr.es/m/19321.1554567786@sss.pgh.pa.us1 parent67999b3 commit1b5bbe4
File tree
3 files changed
+42
-1
lines changed- src
- backend/executor
- test/isolation
- expected
- specs
3 files changed
+42
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3101 | 3101 | | |
3102 | 3102 | | |
3103 | 3103 | | |
3104 | | - | |
| 3104 | + | |
3105 | 3105 | | |
3106 | 3106 | | |
3107 | 3107 | | |
| |||
3118 | 3118 | | |
3119 | 3119 | | |
3120 | 3120 | | |
| 3121 | + | |
3121 | 3122 | | |
3122 | 3123 | | |
3123 | 3124 | | |
| |||
3126 | 3127 | | |
3127 | 3128 | | |
3128 | 3129 | | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
3129 | 3141 | | |
3130 | 3142 | | |
3131 | 3143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| 38 | + | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| |||
99 | 104 | | |
100 | 105 | | |
101 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
102 | 113 | | |
103 | 114 | | |
104 | 115 | | |
| |||
133 | 144 | | |
134 | 145 | | |
135 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
136 | 151 | | |
137 | 152 | | |
138 | 153 | | |
| |||
177 | 192 | | |
178 | 193 | | |
179 | 194 | | |
| 195 | + | |
| 196 | + | |
0 commit comments
Comments
(0)