forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7bd7aa4
committed
Move EXPLAIN counter increment to heapam_scan_bitmap_next_block
Increment the lossy and exact page counters for EXPLAIN of bitmap heapscans in heapam_scan_bitmap_next_block(). Note that other table AMs willneed to do this as wellPushing the counters into heapam_scan_bitmap_next_block() is required tobe able to use the read stream API for bitmap heap scans. The bitmapiterator must be advanced from inside the read stream callback, soTBMIterateResults cannot be used as a flow control mechanism inBitmapHeapNext().Author: Melanie PlagemanReviewed-by: Tomas Vondra, Heikki LinnakangasDiscussion:https://postgr.es/m/063e4eb4-32d9-439e-a0b1-75565a9835a8%40iki.fi1 parent8e7e672 commit7bd7aa4
File tree
3 files changed
+27
-14
lines changed- src
- backend
- access/heap
- executor
- include/access
3 files changed
+27
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2115 | 2115 | | |
2116 | 2116 | | |
2117 | 2117 | | |
2118 | | - | |
| 2118 | + | |
| 2119 | + | |
2119 | 2120 | | |
2120 | 2121 | | |
2121 | 2122 | | |
| |||
2243 | 2244 | | |
2244 | 2245 | | |
2245 | 2246 | | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
2246 | 2252 | | |
2247 | 2253 | | |
2248 | 2254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | | - | |
217 | 215 | | |
218 | 216 | | |
219 | 217 | | |
| |||
233 | 231 | | |
234 | 232 | | |
235 | 233 | | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
244 | 237 | | |
245 | 238 | | |
246 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
799 | 803 | | |
800 | 804 | | |
801 | 805 | | |
| |||
811 | 815 | | |
812 | 816 | | |
813 | 817 | | |
814 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
815 | 821 | | |
816 | 822 | | |
817 | 823 | | |
| |||
1954 | 1960 | | |
1955 | 1961 | | |
1956 | 1962 | | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
| 1966 | + | |
1957 | 1967 | | |
1958 | 1968 | | |
1959 | 1969 | | |
1960 | 1970 | | |
1961 | 1971 | | |
1962 | | - | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
1963 | 1975 | | |
1964 | 1976 | | |
1965 | 1977 | | |
| |||
1970 | 1982 | | |
1971 | 1983 | | |
1972 | 1984 | | |
1973 | | - | |
| 1985 | + | |
| 1986 | + | |
| 1987 | + | |
1974 | 1988 | | |
1975 | 1989 | | |
1976 | 1990 | | |
| |||
0 commit comments
Comments
(0)