Commit 1fdb7f9
committed
expression eval: Don't redundantly keep track of AggState.
It's already tracked via ExprState->parent, so we don't need to also
include it in ExprEvalStep. When that code originally was written
ExprState->parent didn't exist, but it since has been introduced in
6719b23.
Author: Andres Freund
Discussion: https://postgr.es/m/20191023163849.sosqbfs5yenocez3@alap3.anarazel.de1 parent 1ec7679 commit 1fdb7f9Copy full SHA for 1fdb7f9
File tree
Expand file treeCollapse file tree
5 files changed
+20
-31
lines changedOpen diff view settings
Filter options
- src
- backend
- executor
- jit/llvm
- include
- executor
- nodes
Expand file treeCollapse file tree
5 files changed
+20
-31
lines changedOpen diff view settings
Collapse file
src/backend/executor/execExpr.c
Copy file name to clipboardExpand all lines: src/backend/executor/execExpr.c-5Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
810 | 810 | |
811 | 811 | |
812 | 812 | |
813 | | - |
814 | 813 | |
815 | 814 | |
816 | 815 | |
| ||
3050 | 3049 | |
3051 | 3050 | |
3052 | 3051 | |
3053 | | - |
3054 | 3052 | |
3055 | 3053 | |
3056 | 3054 | |
| ||
3252 | 3250 | |
3253 | 3251 | |
3254 | 3252 | |
3255 | | - |
3256 | 3253 | |
3257 | 3254 | |
3258 | 3255 | |
| ||
3269 | 3266 | |
3270 | 3267 | |
3271 | 3268 | |
3272 | | - |
3273 | 3269 | |
3274 | 3270 | |
3275 | 3271 | |
| ||
3294 | 3290 | |
3295 | 3291 | |
3296 | 3292 | |
3297 | | - |
3298 | 3293 | |
3299 | 3294 | |
3300 | 3295 | |
|
Collapse file
src/backend/executor/execExprInterp.c
Copy file name to clipboardExpand all lines: src/backend/executor/execExprInterp.c+7-10Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1544 | 1544 | |
1545 | 1545 | |
1546 | 1546 | |
1547 | | - |
| 1547 | + |
1548 | 1548 | |
1549 | 1549 | |
1550 | 1550 | |
| ||
1596 | 1596 | |
1597 | 1597 | |
1598 | 1598 | |
1599 | | - |
| 1599 | + |
1600 | 1600 | |
1601 | 1601 | |
1602 | | - |
1603 | 1602 | |
1604 | 1603 | |
1605 | 1604 | |
| ||
1624 | 1623 | |
1625 | 1624 | |
1626 | 1625 | |
1627 | | - |
| 1626 | + |
1628 | 1627 | |
1629 | 1628 | |
1630 | | - |
1631 | 1629 | |
1632 | 1630 | |
1633 | 1631 | |
| ||
1645 | 1643 | |
1646 | 1644 | |
1647 | 1645 | |
1648 | | - |
| 1646 | + |
1649 | 1647 | |
1650 | 1648 | |
1651 | 1649 | |
1652 | 1650 | |
1653 | 1651 | |
1654 | 1652 | |
1655 | | - |
1656 | 1653 | |
1657 | 1654 | |
1658 | 1655 | |
| ||
1696 | 1693 | |
1697 | 1694 | |
1698 | 1695 | |
1699 | | - |
| 1696 | + |
1700 | 1697 | |
1701 | 1698 | |
1702 | 1699 | |
1703 | 1700 | |
1704 | 1701 | |
1705 | 1702 | |
1706 | | - |
1707 | 1703 | |
1708 | 1704 | |
1709 | 1705 | |
| ||
3846 | 3842 | |
3847 | 3843 | |
3848 | 3844 | |
| 3845 | + |
3849 | 3846 | |
3850 | | - |
| 3847 | + |
3851 | 3848 | |
3852 | 3849 | |
3853 | 3850 | |
|
Collapse file
src/backend/jit/llvm/llvmjit_expr.c
Copy file name to clipboardExpand all lines: src/backend/jit/llvm/llvmjit_expr.c+12-11Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
85 | 85 | |
86 | 86 | |
87 | 87 | |
| 88 | + |
88 | 89 | |
89 | 90 | |
90 | 91 | |
| ||
173 | 174 | |
174 | 175 | |
175 | 176 | |
| 177 | + |
| 178 | + |
| 179 | + |
176 | 180 | |
177 | 181 | |
178 | 182 | |
| ||
1989 | 1993 | |
1990 | 1994 | |
1991 | 1995 | |
1992 | | - |
| 1996 | + |
1993 | 1997 | |
1994 | 1998 | |
1995 | 1999 | |
| ||
2078 | 2082 | |
2079 | 2083 | |
2080 | 2084 | |
2081 | | - |
2082 | 2085 | |
2083 | 2086 | |
2084 | 2087 | |
| ||
2095 | 2098 | |
2096 | 2099 | |
2097 | 2100 | |
2098 | | - |
2099 | 2101 | |
2100 | 2102 | |
2101 | | - |
2102 | | - |
| 2103 | + |
| 2104 | + |
2103 | 2105 | |
2104 | 2106 | |
2105 | 2107 | |
| ||
2176 | 2178 | |
2177 | 2179 | |
2178 | 2180 | |
2179 | | - |
2180 | 2181 | |
2181 | 2182 | |
2182 | 2183 | |
| ||
2188 | 2189 | |
2189 | 2190 | |
2190 | 2191 | |
2191 | | - |
2192 | | - |
| 2192 | + |
| 2193 | + |
2193 | 2194 | |
2194 | 2195 | |
2195 | 2196 | |
| ||
2256 | 2257 | |
2257 | 2258 | |
2258 | 2259 | |
2259 | | - |
| 2260 | + |
2260 | 2261 | |
2261 | 2262 | |
2262 | 2263 | |
2263 | 2264 | |
2264 | | - |
2265 | | - |
| 2265 | + |
| 2266 | + |
2266 | 2267 | |
2267 | 2268 | |
2268 | 2269 | |
|
Collapse file
src/include/executor/execExpr.h
Copy file name to clipboardExpand all lines: src/include/executor/execExpr.h-5Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
569 | 569 | |
570 | 570 | |
571 | 571 | |
572 | | - |
573 | 572 | |
574 | 573 | |
575 | 574 | |
| ||
597 | 596 | |
598 | 597 | |
599 | 598 | |
600 | | - |
601 | 599 | |
602 | 600 | |
603 | 601 | |
| ||
625 | 623 | |
626 | 624 | |
627 | 625 | |
628 | | - |
629 | 626 | |
630 | 627 | |
631 | 628 | |
| ||
637 | 634 | |
638 | 635 | |
639 | 636 | |
640 | | - |
641 | 637 | |
642 | 638 | |
643 | 639 | |
| ||
647 | 643 | |
648 | 644 | |
649 | 645 | |
650 | | - |
651 | 646 | |
652 | 647 | |
653 | 648 | |
|
Collapse file
src/include/nodes/execnodes.h
Copy file name to clipboardExpand all lines: src/include/nodes/execnodes.h+1Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
104 | 104 | |
105 | 105 | |
106 | 106 | |
| 107 | + |
107 | 108 | |
108 | 109 | |
109 | 110 | |
|
0 commit comments