- Notifications
You must be signed in to change notification settings - Fork28
Commit53e7576
committed
Make NestLoop plan nodes pass outer-relation variables into their inner
relation using the general PARAM_EXEC executor parameter mechanism, ratherthan the ad-hoc kluge of passing the outer tuple down through ExecReScan.The previous method was hard to understand and could never be extended tohandle parameters coming from multiple join levels. This patch doesn'tchange the set of possible plans nor have any significant performance effect,but it's necessary infrastructure for future generalization of the conceptof an inner indexscan plan.ExecReScan's second parameter is now unused, so it's removed.1 parent5a34893 commit53e7576
File tree
76 files changed
+799
-697
lines changed- src
- backend
- executor
- nodes
- optimizer/plan
- include
- executor
- nodes
- optimizer
- test/regress
- expected
- sql
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
76 files changed
+799
-697
lines changedLines changed: 31 additions & 39 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 | 62 |
| |
71 | 63 |
| |
72 |
| - | |
| 64 | + | |
73 | 65 |
| |
74 | 66 |
| |
75 | 67 |
| |
| |||
126 | 118 |
| |
127 | 119 |
| |
128 | 120 |
| |
129 |
| - | |
| 121 | + | |
130 | 122 |
| |
131 | 123 |
| |
132 | 124 |
| |
133 |
| - | |
| 125 | + | |
134 | 126 |
| |
135 | 127 |
| |
136 | 128 |
| |
137 |
| - | |
| 129 | + | |
138 | 130 |
| |
139 | 131 |
| |
140 | 132 |
| |
141 |
| - | |
| 133 | + | |
142 | 134 |
| |
143 | 135 |
| |
144 | 136 |
| |
145 |
| - | |
| 137 | + | |
146 | 138 |
| |
147 | 139 |
| |
148 | 140 |
| |
149 |
| - | |
| 141 | + | |
150 | 142 |
| |
151 | 143 |
| |
152 | 144 |
| |
153 |
| - | |
| 145 | + | |
154 | 146 |
| |
155 | 147 |
| |
156 | 148 |
| |
157 |
| - | |
| 149 | + | |
158 | 150 |
| |
159 | 151 |
| |
160 | 152 |
| |
161 |
| - | |
| 153 | + | |
162 | 154 |
| |
163 | 155 |
| |
164 | 156 |
| |
165 |
| - | |
| 157 | + | |
166 | 158 |
| |
167 | 159 |
| |
168 | 160 |
| |
169 |
| - | |
| 161 | + | |
170 | 162 |
| |
171 | 163 |
| |
172 | 164 |
| |
173 |
| - | |
| 165 | + | |
174 | 166 |
| |
175 | 167 |
| |
176 | 168 |
| |
177 |
| - | |
| 169 | + | |
178 | 170 |
| |
179 | 171 |
| |
180 | 172 |
| |
181 |
| - | |
| 173 | + | |
182 | 174 |
| |
183 | 175 |
| |
184 | 176 |
| |
185 |
| - | |
| 177 | + | |
186 | 178 |
| |
187 | 179 |
| |
188 | 180 |
| |
189 |
| - | |
| 181 | + | |
190 | 182 |
| |
191 | 183 |
| |
192 | 184 |
| |
193 |
| - | |
| 185 | + | |
194 | 186 |
| |
195 | 187 |
| |
196 | 188 |
| |
197 |
| - | |
| 189 | + | |
198 | 190 |
| |
199 | 191 |
| |
200 | 192 |
| |
201 |
| - | |
| 193 | + | |
202 | 194 |
| |
203 | 195 |
| |
204 | 196 |
| |
205 |
| - | |
| 197 | + | |
206 | 198 |
| |
207 | 199 |
| |
208 | 200 |
| |
209 |
| - | |
| 201 | + | |
210 | 202 |
| |
211 | 203 |
| |
212 | 204 |
| |
213 |
| - | |
| 205 | + | |
214 | 206 |
| |
215 | 207 |
| |
216 | 208 |
| |
217 |
| - | |
| 209 | + | |
218 | 210 |
| |
219 | 211 |
| |
220 | 212 |
| |
221 |
| - | |
| 213 | + | |
222 | 214 |
| |
223 | 215 |
| |
224 | 216 |
| |
225 |
| - | |
| 217 | + | |
226 | 218 |
| |
227 | 219 |
| |
228 | 220 |
| |
229 |
| - | |
| 221 | + | |
230 | 222 |
| |
231 | 223 |
| |
232 | 224 |
| |
233 |
| - | |
| 225 | + | |
234 | 226 |
| |
235 | 227 |
| |
236 | 228 |
| |
237 |
| - | |
| 229 | + | |
238 | 230 |
| |
239 | 231 |
| |
240 | 232 |
| |
241 |
| - | |
| 233 | + | |
242 | 234 |
| |
243 | 235 |
| |
244 | 236 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
400 | 400 |
| |
401 | 401 |
| |
402 | 402 |
| |
403 |
| - | |
| 403 | + | |
404 | 404 |
| |
405 | 405 |
| |
406 | 406 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
341 | 341 |
| |
342 | 342 |
| |
343 | 343 |
| |
344 |
| - | |
| 344 | + | |
345 | 345 |
| |
346 | 346 |
| |
347 | 347 |
| |
| |||
504 | 504 |
| |
505 | 505 |
| |
506 | 506 |
| |
507 |
| - | |
| 507 | + | |
508 | 508 |
| |
509 | 509 |
| |
510 | 510 |
| |
|
0 commit comments
Comments
(0)