forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitff7ece4
Remove obsolete executor cleanup code
This commit removes unnecessary ExecExprFreeContext() calls inExecEnd* routines because the actual cleanup is managed byFreeExecutorState(). With no callers remaining forExecExprFreeContext(), this commit also removes the function.This commit also drops redundant ExecClearTuple() calls, becauseExecResetTupleTable() in ExecEndPlan() already takes care ofresetting and dropping all TupleTableSlots initialized withExecInitScanTupleSlot() and ExecInitExtraTupleSlot().After these modifications, the ExecEnd*() routines for ValuesScan,NamedTuplestoreScan, and WorkTableScan became redundant. So, thiscommit removes them.Reviewed-by: Robert HaasDiscussion:https://postgr.es/m/CA+HiwqFGkMSge6TgC9KQzde0ohpAycLQuV7ooitEEpbKB0O_mg@mail.gmail.com1 parent2d13cdd commitff7ece4
File tree
42 files changed
+6
-419
lines changed- src
- backend/executor
- include/executor
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+6
-419
lines changedLines changed: 6 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
667 | 667 |
| |
668 | 668 |
| |
669 | 669 |
| |
670 |
| - | |
671 |
| - | |
672 |
| - | |
673 |
| - | |
674 | 670 |
| |
675 | 671 |
| |
676 | 672 |
| |
677 | 673 |
| |
678 |
| - | |
679 |
| - | |
680 |
| - | |
681 |
| - | |
682 |
| - | |
683 |
| - | |
684 |
| - | |
685 |
| - | |
686 | 674 |
| |
687 | 675 |
| |
688 | 676 |
| |
| |||
757 | 745 |
| |
758 | 746 |
| |
759 | 747 |
| |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
760 | 754 |
| |
761 | 755 |
| |
762 | 756 |
| |
|
Lines changed: 0 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
638 | 638 |
| |
639 | 639 |
| |
640 | 640 |
| |
641 |
| - | |
642 |
| - | |
643 |
| - | |
644 |
| - | |
645 |
| - | |
646 |
| - | |
647 |
| - | |
648 |
| - | |
649 |
| - | |
650 |
| - | |
651 |
| - | |
652 |
| - | |
653 |
| - | |
654 |
| - | |
655 |
| - | |
656 |
| - | |
657 |
| - | |
658 |
| - | |
659 |
| - | |
660 |
| - | |
661 |
| - | |
662 |
| - | |
663 |
| - | |
664 |
| - | |
665 |
| - | |
666 |
| - | |
667 | 641 |
| |
668 | 642 |
| |
669 | 643 |
| |
|
Lines changed: 0 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4357 | 4357 |
| |
4358 | 4358 |
| |
4359 | 4359 |
| |
4360 |
| - | |
4361 |
| - | |
4362 |
| - | |
4363 |
| - | |
4364 |
| - | |
4365 |
| - | |
4366 |
| - | |
4367 |
| - | |
4368 |
| - | |
4369 |
| - | |
4370 | 4360 |
| |
4371 | 4361 |
| |
4372 | 4362 |
| |
|
Lines changed: 0 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
655 | 655 |
| |
656 | 656 |
| |
657 | 657 |
| |
658 |
| - | |
659 |
| - | |
660 |
| - | |
661 |
| - | |
662 |
| - | |
663 |
| - | |
664 |
| - | |
665 |
| - | |
666 |
| - | |
667 |
| - | |
668 |
| - | |
669 |
| - | |
670 | 658 |
| |
671 | 659 |
| |
672 | 660 |
| |
|
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
187 |
| - | |
188 |
| - | |
189 |
| - | |
190 |
| - | |
191 |
| - | |
192 |
| - | |
193 |
| - | |
194 |
| - | |
195 | 187 |
| |
196 | 188 |
| |
197 | 189 |
| |
|
Lines changed: 0 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
287 | 287 |
| |
288 | 288 |
| |
289 | 289 |
| |
290 |
| - | |
291 |
| - | |
292 |
| - | |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 |
| - | |
297 |
| - | |
298 |
| - | |
299 |
| - | |
300 |
| - | |
301 |
| - | |
302 | 290 |
| |
303 | 291 |
| |
304 | 292 |
| |
|
Lines changed: 0 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
129 | 129 |
| |
130 | 130 |
| |
131 | 131 |
| |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 | 132 |
| |
140 | 133 |
| |
141 | 134 |
| |
|
Lines changed: 0 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
312 | 312 |
| |
313 | 313 |
| |
314 | 314 |
| |
315 |
| - | |
316 |
| - | |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 | 315 |
| |
324 | 316 |
| |
325 | 317 |
| |
|
Lines changed: 0 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
523 | 523 |
| |
524 | 524 |
| |
525 | 525 |
| |
526 |
| - | |
527 |
| - | |
528 |
| - | |
529 |
| - | |
530 |
| - | |
531 |
| - | |
532 |
| - | |
533 |
| - | |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
538 | 526 |
| |
539 | 527 |
| |
540 | 528 |
| |
541 | 529 |
| |
542 | 530 |
| |
543 | 531 |
| |
544 | 532 |
| |
545 |
| - | |
546 |
| - | |
547 |
| - | |
548 | 533 |
| |
549 | 534 |
| |
550 | 535 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
250 | 250 |
| |
251 | 251 |
| |
252 | 252 |
| |
253 |
| - | |
254 |
| - | |
255 |
| - | |
256 | 253 |
| |
257 | 254 |
| |
258 | 255 |
| |
|
Lines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
290 | 290 |
| |
291 | 291 |
| |
292 | 292 |
| |
293 |
| - | |
294 |
| - | |
295 |
| - | |
296 | 293 |
| |
297 | 294 |
| |
298 | 295 |
| |
|
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
228 | 228 |
| |
229 | 229 |
| |
230 | 230 |
| |
231 |
| - | |
232 |
| - | |
233 |
| - | |
234 |
| - | |
235 |
| - | |
236 | 231 |
| |
237 | 232 |
| |
238 | 233 |
| |
|
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
418 |
| - | |
419 |
| - | |
420 |
| - | |
421 |
| - | |
422 |
| - | |
423 | 418 |
| |
424 | 419 |
| |
425 | 420 |
| |
|
Lines changed: 0 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
867 | 867 |
| |
868 | 868 |
| |
869 | 869 |
| |
870 |
| - | |
871 |
| - | |
872 |
| - | |
873 |
| - | |
874 |
| - | |
875 |
| - | |
876 |
| - | |
877 |
| - | |
878 |
| - | |
879 |
| - | |
880 |
| - | |
881 |
| - | |
882 | 870 |
| |
883 | 871 |
| |
884 | 872 |
| |
|
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1079 | 1079 |
| |
1080 | 1080 |
| |
1081 | 1081 |
| |
1082 |
| - | |
1083 |
| - | |
1084 |
| - | |
1085 |
| - | |
1086 |
| - | |
1087 | 1082 |
| |
1088 | 1083 |
| |
1089 | 1084 |
| |
|
Lines changed: 0 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
380 | 380 |
| |
381 | 381 |
| |
382 | 382 |
| |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
387 |
| - | |
388 |
| - | |
389 |
| - | |
390 |
| - | |
391 |
| - | |
392 |
| - | |
393 |
| - | |
394 |
| - | |
395 |
| - | |
396 |
| - | |
397 |
| - | |
398 |
| - | |
399 | 383 |
| |
400 | 384 |
| |
401 | 385 |
| |
|
Lines changed: 0 additions & 16 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
794 | 794 |
| |
795 | 795 |
| |
796 | 796 |
| |
797 |
| - | |
798 |
| - | |
799 |
| - | |
800 |
| - | |
801 |
| - | |
802 |
| - | |
803 |
| - | |
804 |
| - | |
805 |
| - | |
806 |
| - | |
807 |
| - | |
808 |
| - | |
809 |
| - | |
810 |
| - | |
811 |
| - | |
812 |
| - | |
813 | 797 |
| |
814 | 798 |
| |
815 | 799 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
534 | 534 |
| |
535 | 535 |
| |
536 | 536 |
| |
537 |
| - | |
538 | 537 |
| |
539 | 538 |
| |
540 | 539 |
| |
|
Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
239 | 239 |
| |
240 | 240 |
| |
241 | 241 |
| |
242 |
| - | |
243 |
| - | |
244 |
| - | |
245 |
| - | |
246 |
| - | |
247 | 242 |
| |
248 | 243 |
| |
249 | 244 |
| |
|
Lines changed: 0 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1091 | 1091 |
| |
1092 | 1092 |
| |
1093 | 1093 |
| |
1094 |
| - | |
1095 |
| - | |
1096 |
| - | |
1097 |
| - | |
1098 |
| - | |
1099 |
| - | |
1100 |
| - | |
1101 |
| - | |
1102 |
| - | |
1103 | 1094 |
| |
1104 | 1095 |
| |
1105 | 1096 |
| |
|
Lines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1643 | 1643 |
| |
1644 | 1644 |
| |
1645 | 1645 |
| |
1646 |
| - | |
1647 |
| - | |
1648 |
| - | |
1649 |
| - | |
1650 |
| - | |
1651 |
| - | |
1652 |
| - | |
1653 |
| - | |
1654 |
| - | |
1655 |
| - | |
1656 |
| - | |
1657 | 1646 |
| |
1658 | 1647 |
| |
1659 | 1648 |
| |
|
Lines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4446 | 4446 |
| |
4447 | 4447 |
| |
4448 | 4448 |
| |
4449 |
| - | |
4450 |
| - | |
4451 |
| - | |
4452 |
| - | |
4453 |
| - | |
4454 |
| - | |
4455 |
| - | |
4456 |
| - | |
4457 |
| - | |
4458 |
| - | |
4459 |
| - | |
4460 | 4449 |
| |
4461 | 4450 |
| |
4462 | 4451 |
| |
|
0 commit comments
Comments
(0)