- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit960013f
committed
Use caller's memory context for radix tree iteration state
Typically only one iterator is present at any time, so it's overkillto devote an entire context for this. Get rid of it and use thecaller's context.This is tidy-up work, so no backpatch in this form. However, ahypothetical extension to v17 that tried to start iteration froman attaching backend would result in a crash, so that'll be fixedseparately in a way that doesn't change behavior in core.Patch by me, reported and reviewed by Masahiko SawadaDiscussion:https://postgr.es/m/CAD21AoBB2U47V=F+wQRB1bERov_of5=BOZGaybjaV8FLQyqG3Q@mail.gmail.com1 parent9a8313d commit960013f
1 file changed
+3
-12
lines changedLines changed: 3 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
719 | 719 |
| |
720 | 720 |
| |
721 | 721 |
| |
722 |
| - | |
723 | 722 |
| |
724 | 723 |
| |
725 | 724 |
| |
| |||
1836 | 1835 |
| |
1837 | 1836 |
| |
1838 | 1837 |
| |
1839 |
| - | |
1840 |
| - | |
1841 |
| - | |
1842 |
| - | |
1843 |
| - | |
1844 |
| - | |
1845 |
| - | |
1846 |
| - | |
1847 | 1838 |
| |
1848 | 1839 |
| |
1849 | 1840 |
| |
| |||
2075 | 2066 |
| |
2076 | 2067 |
| |
2077 | 2068 |
| |
2078 |
| - | |
| 2069 | + | |
| 2070 | + | |
2079 | 2071 |
| |
2080 | 2072 |
| |
2081 | 2073 |
| |
| |||
2086 | 2078 |
| |
2087 | 2079 |
| |
2088 | 2080 |
| |
2089 |
| - | |
2090 |
| - | |
| 2081 | + | |
2091 | 2082 |
| |
2092 | 2083 |
| |
2093 | 2084 |
| |
|
0 commit comments
Comments
(0)