forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdcf3902
committed
Make SubPlan nodes carry the result's typmod as well as datatype OID. This is
for consistency with the (relatively) recent addition of typmod to SubLink.An example of why it's a good idea is to be seen in the recent "failed tolocate grouping columns" bug, which wouldn't have happened if a SubPlanexposed the same typmod info as the SubLink it was derived from.This could be back-patched, since it doesn't affect any on-disk data format,but for the moment it doesn't seem necessary to do so.1 parent4886dc9 commitdcf3902
File tree
6 files changed
+55
-26
lines changed- src
- backend
- nodes
- optimizer/plan
- include/nodes
6 files changed
+55
-26
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| |||
1113 | 1113 |
| |
1114 | 1114 |
| |
1115 | 1115 |
| |
| 1116 | + | |
1116 | 1117 |
| |
1117 | 1118 |
| |
1118 | 1119 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + | |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| |||
342 | 342 |
| |
343 | 343 |
| |
344 | 344 |
| |
| 345 | + | |
345 | 346 |
| |
346 | 347 |
| |
347 | 348 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
| 31 | + | |
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| |||
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 | 120 |
| |
126 | 121 |
| |
127 | 122 |
| |
| |||
148 | 143 |
| |
149 | 144 |
| |
150 | 145 |
| |
151 |
| - | |
152 | 146 |
| |
153 | 147 |
| |
154 | 148 |
| |
| |||
236 | 230 |
| |
237 | 231 |
| |
238 | 232 |
| |
239 |
| - | |
240 |
| - | |
| 233 | + | |
| 234 | + | |
241 | 235 |
| |
242 | 236 |
| |
243 | 237 |
| |
| |||
286 | 280 |
| |
287 | 281 |
| |
288 | 282 |
| |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
289 | 309 |
| |
290 | 310 |
| |
291 | 311 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
957 | 957 |
| |
958 | 958 |
| |
959 | 959 |
| |
| 960 | + | |
960 | 961 |
| |
961 | 962 |
| |
962 | 963 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
229 | 229 |
| |
230 | 230 |
| |
231 | 231 |
| |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
236 | 236 |
| |
237 |
| - | |
238 |
| - | |
| 237 | + | |
| 238 | + | |
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
| |||
244 | 244 |
| |
245 | 245 |
| |
246 | 246 |
| |
247 |
| - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
248 | 252 |
| |
249 |
| - | |
| 253 | + | |
| 254 | + | |
250 | 255 |
| |
251 | 256 |
| |
252 | 257 |
| |
| |||
414 | 419 |
| |
415 | 420 |
| |
416 | 421 |
| |
417 |
| - | |
| 422 | + | |
418 | 423 |
| |
419 | 424 |
| |
420 | 425 |
| |
| |||
876 | 881 |
| |
877 | 882 |
| |
878 | 883 |
| |
879 |
| - | |
| 884 | + | |
880 | 885 |
| |
881 | 886 |
| |
882 | 887 |
| |
| |||
2111 | 2116 |
| |
2112 | 2117 |
| |
2113 | 2118 |
| |
2114 |
| - | |
| 2119 | + | |
2115 | 2120 |
| |
2116 | 2121 |
| |
2117 | 2122 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
504 | 504 |
| |
505 | 505 |
| |
506 | 506 |
| |
| 507 | + | |
507 | 508 |
| |
508 | 509 |
| |
509 | 510 |
| |
|
0 commit comments
Comments
(0)