forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfce3b26
committed
Rename ExecAggTransReparent, and improve its documentation.
The name of this function suggests that it ought to reparent R/Wexpanded objects to be children of the persistent aggcontext, insteadof copying them. In fact it does no such thing, and if you try tomake it do so you will see multiple regression failures. Rename itto the less-misleading ExecAggCopyTransValue, and add commentaryabout why that attractive-sounding optimization won't work. Alsoadjust comments at call sites, some of which were describing logicthat has since been moved into ExecAggCopyTransValue.Discussion:https://postgr.es/m/3004282.1681930251@sss.pgh.pa.us1 parent5a8366a commitfce3b26
File tree
6 files changed
+51
-28
lines changed- src
- backend
- executor
- jit/llvm
- include/executor
6 files changed
+51
-28
lines changedLines changed: 36 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4341 | 4341 |
| |
4342 | 4342 |
| |
4343 | 4343 |
| |
4344 |
| - | |
4345 |
| - | |
| 4344 | + | |
| 4345 | + | |
| 4346 | + | |
| 4347 | + | |
4346 | 4348 |
| |
4347 | 4349 |
| |
| 4350 | + | |
| 4351 | + | |
| 4352 | + | |
| 4353 | + | |
| 4354 | + | |
| 4355 | + | |
| 4356 | + | |
| 4357 | + | |
| 4358 | + | |
| 4359 | + | |
| 4360 | + | |
| 4361 | + | |
| 4362 | + | |
| 4363 | + | |
| 4364 | + | |
| 4365 | + | |
| 4366 | + | |
| 4367 | + | |
| 4368 | + | |
| 4369 | + | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
4348 | 4373 |
| |
4349 | 4374 |
| |
4350 |
| - | |
4351 |
| - | |
4352 |
| - | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
4353 | 4378 |
| |
4354 | 4379 |
| |
4355 | 4380 |
| |
| |||
4559 | 4584 |
| |
4560 | 4585 |
| |
4561 | 4586 |
| |
4562 |
| - | |
4563 |
| - | |
4564 |
| - | |
| 4587 | + | |
4565 | 4588 |
| |
4566 | 4589 |
| |
4567 |
| - | |
| 4590 | + | |
4568 | 4591 |
| |
4569 | 4592 |
| |
4570 | 4593 |
| |
| |||
4573 | 4596 |
| |
4574 | 4597 |
| |
4575 | 4598 |
| |
4576 |
| - | |
4577 |
| - | |
4578 |
| - | |
4579 |
| - | |
| 4599 | + | |
| 4600 | + | |
| 4601 | + | |
| 4602 | + | |
4580 | 4603 |
| |
4581 | 4604 |
| |
4582 | 4605 |
| |
|
Lines changed: 6 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
778 | 778 |
| |
779 | 779 |
| |
780 | 780 |
| |
781 |
| - | |
782 |
| - | |
783 |
| - | |
| 781 | + | |
784 | 782 |
| |
785 | 783 |
| |
786 |
| - | |
| 784 | + | |
787 | 785 |
| |
788 | 786 |
| |
789 | 787 |
| |
| |||
793 | 791 |
| |
794 | 792 |
| |
795 | 793 |
| |
796 |
| - | |
797 |
| - | |
798 |
| - | |
799 |
| - | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
800 | 798 |
| |
801 | 799 |
| |
802 | 800 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
368 | 368 |
| |
369 | 369 |
| |
370 | 370 |
| |
371 |
| - | |
| 371 | + | |
| 372 | + | |
372 | 373 |
| |
373 | 374 |
| |
374 | 375 |
| |
| |||
533 | 534 |
| |
534 | 535 |
| |
535 | 536 |
| |
536 |
| - | |
| 537 | + | |
| 538 | + | |
537 | 539 |
| |
538 | 540 |
| |
539 | 541 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2314 | 2314 |
| |
2315 | 2315 |
| |
2316 | 2316 |
| |
2317 |
| - | |
| 2317 | + | |
2318 | 2318 |
| |
2319 | 2319 |
| |
2320 | 2320 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
| 105 | + | |
106 | 106 |
| |
107 | 107 |
| |
108 | 108 |
| |
|
Lines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
807 | 807 |
| |
808 | 808 |
| |
809 | 809 |
| |
810 |
| - | |
811 |
| - | |
812 |
| - | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
813 | 813 |
| |
814 | 814 |
| |
815 | 815 |
| |
|
0 commit comments
Comments
(0)