- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit5279e9d
committed
heapam: Pass number of required pages to RelationGetBufferForTuple()
A future commit will use this information to determine how aggressively toextend the relation by. In heap_multi_insert() we know accurately how manypages we need once we need to extend the relation, providing an accurate lowerbound for how much to extend.Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>Discussion:https://postgr.es/m/20221029025420.eplyow6k7tgu6he3@awork3.anarazel.de1 parent7d71d3d commit5279e9d
3 files changed
+63
-6
lines changedLines changed: 54 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1847 | 1847 |
| |
1848 | 1848 |
| |
1849 | 1849 |
| |
1850 |
| - | |
| 1850 | + | |
| 1851 | + | |
1851 | 1852 |
| |
1852 | 1853 |
| |
1853 | 1854 |
| |
| |||
2050 | 2051 |
| |
2051 | 2052 |
| |
2052 | 2053 |
| |
| 2054 | + | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
2053 | 2080 |
| |
2054 | 2081 |
| |
2055 | 2082 |
| |
| |||
2076 | 2103 |
| |
2077 | 2104 |
| |
2078 | 2105 |
| |
| 2106 | + | |
| 2107 | + | |
| 2108 | + | |
2079 | 2109 |
| |
2080 | 2110 |
| |
2081 | 2111 |
| |
| |||
2126 | 2156 |
| |
2127 | 2157 |
| |
2128 | 2158 |
| |
2129 |
| - | |
2130 | 2159 |
| |
2131 | 2160 |
| |
2132 | 2161 |
| |
2133 | 2162 |
| |
2134 | 2163 |
| |
2135 | 2164 |
| |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
2136 | 2184 |
| |
2137 | 2185 |
| |
2138 | 2186 |
| |
| |||
2142 | 2190 |
| |
2143 | 2191 |
| |
2144 | 2192 |
| |
2145 |
| - | |
| 2193 | + | |
| 2194 | + | |
2146 | 2195 |
| |
2147 | 2196 |
| |
2148 | 2197 |
| |
| |||
3576 | 3625 |
| |
3577 | 3626 |
| |
3578 | 3627 |
| |
3579 |
| - | |
| 3628 | + | |
| 3629 | + | |
3580 | 3630 |
| |
3581 | 3631 |
| |
3582 | 3632 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
301 | 301 |
| |
302 | 302 |
| |
303 | 303 |
| |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
304 | 309 |
| |
305 | 310 |
| |
306 | 311 |
| |
| |||
359 | 364 |
| |
360 | 365 |
| |
361 | 366 |
| |
362 |
| - | |
| 367 | + | |
| 368 | + | |
363 | 369 |
| |
364 | 370 |
| |
365 | 371 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
| 42 | + | |
42 | 43 |
| |
43 | 44 |
|
0 commit comments
Comments
(0)