forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb803b7d
committed
Fill EState.es_rteperminfos more systematically.
While testing a fix for bug #17823, I discovered that EvalPlanQualStartfailed to copy es_rteperminfos from the parent EState, resulting infailure if anything in EPQ execution wanted to consult that information.This led me to conclude that commita61b1f7 had been too haphazardabout where to fill es_rteperminfos, and that we need to be sure thatthat happens exactly where es_range_table gets filled. So I changed thesignature of ExecInitRangeTable to help ensure that this new requirementdoesn't get missed. (Indeed, pgoutput.c was also failing to fill it.Maybe we don't ever need it there, but I wouldn't bet on that.)No test case yet; one will arrive with the fix for #17823.But that needs to be back-patched, while this fix is HEAD-only.Discussion:https://postgr.es/m/17823-b64909cf7d63de84@postgresql.org1 parente76cbb6 commitb803b7d
File tree
6 files changed
+21
-16
lines changed- src
- backend
- commands
- executor
- replication
- logical
- pgoutput
- include/executor
6 files changed
+21
-16
lines changedLines changed: 1 addition & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
757 | 757 |
| |
758 | 758 |
| |
759 | 759 |
| |
760 |
| - | |
| 760 | + | |
761 | 761 |
| |
762 | 762 |
| |
763 | 763 |
| |
764 |
| - | |
765 |
| - | |
766 |
| - | |
767 |
| - | |
768 |
| - | |
769 |
| - | |
770 | 764 |
| |
771 | 765 |
| |
772 | 766 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
807 | 807 |
| |
808 | 808 |
| |
809 | 809 |
| |
810 |
| - | |
| 810 | + | |
811 | 811 |
| |
812 | 812 |
| |
813 |
| - | |
814 | 813 |
| |
815 | 814 |
| |
816 | 815 |
| |
817 | 816 |
| |
818 |
| - | |
| 817 | + | |
819 | 818 |
| |
820 | 819 |
| |
821 | 820 |
| |
| |||
2805 | 2804 |
| |
2806 | 2805 |
| |
2807 | 2806 |
| |
2808 |
| - | |
2809 | 2807 |
| |
| 2808 | + | |
2810 | 2809 |
| |
2811 | 2810 |
| |
2812 | 2811 |
| |
| 2812 | + | |
2813 | 2813 |
| |
2814 | 2814 |
| |
2815 | 2815 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
| 124 | + | |
124 | 125 |
| |
125 | 126 |
| |
126 | 127 |
| |
| |||
755 | 756 |
| |
756 | 757 |
| |
757 | 758 |
| |
758 |
| - | |
| 759 | + | |
759 | 760 |
| |
760 | 761 |
| |
761 | 762 |
| |
762 | 763 |
| |
| 764 | + | |
| 765 | + | |
| 766 | + | |
763 | 767 |
| |
764 | 768 |
| |
765 | 769 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
671 | 671 |
| |
672 | 672 |
| |
673 | 673 |
| |
| 674 | + | |
674 | 675 |
| |
675 | 676 |
| |
676 | 677 |
| |
| |||
683 | 684 |
| |
684 | 685 |
| |
685 | 686 |
| |
686 |
| - | |
687 | 687 |
| |
688 |
| - | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
689 | 691 |
| |
690 | 692 |
| |
691 | 693 |
| |
|
Lines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| 26 | + | |
26 | 27 |
| |
27 | 28 |
| |
28 | 29 |
| |
| |||
792 | 793 |
| |
793 | 794 |
| |
794 | 795 |
| |
| 796 | + | |
795 | 797 |
| |
796 | 798 |
| |
797 | 799 |
| |
| |||
800 | 802 |
| |
801 | 803 |
| |
802 | 804 |
| |
803 |
| - | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
804 | 809 |
| |
805 | 810 |
| |
806 | 811 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
568 | 568 |
| |
569 | 569 |
| |
570 | 570 |
| |
571 |
| - | |
| 571 | + | |
572 | 572 |
| |
573 | 573 |
| |
574 | 574 |
| |
|
0 commit comments
Comments
(0)