forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit73c61a5
committed
vacuumlazy.c: Remove obsolete num_tuples field.
Commit49c9d9f unified VACUUM VERBOSE and autovacuum logging. Itneglected to remove an old vacrel field that was only used by the oldVACUUM VERBOSE, so remove it now.The previous num_tuples approach doesn't seem to have any real advantageover the approach VACUUM VERBOSE takes now (also the approach used bythe autovacuum logging code), which is to show new_rel_tuples.new_rel_tuples is the possibly-estimated total number of tuples left inthe table, whereas num_tuples meant the number of tuples encounteredduring the VACUUM operation, after pruning, without regard for tuplesfrom pages skipped via the visibility map.In passing, reorder a related vacrel field for consistency.1 parent22eb12c commit73c61a5
1 file changed
+8
-19
lines changedLines changed: 8 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
213 | 213 |
| |
214 | 214 |
| |
215 | 215 |
| |
| 216 | + | |
216 | 217 |
| |
217 | 218 |
| |
218 |
| - | |
219 |
| - | |
220 | 219 |
| |
221 | 220 |
| |
222 | 221 |
| |
| |||
816 | 815 |
| |
817 | 816 |
| |
818 | 817 |
| |
| 818 | + | |
819 | 819 |
| |
820 | 820 |
| |
821 |
| - | |
822 |
| - | |
823 | 821 |
| |
824 | 822 |
| |
825 | 823 |
| |
| |||
1572 | 1570 |
| |
1573 | 1571 |
| |
1574 | 1572 |
| |
1575 |
| - | |
1576 |
| - | |
1577 |
| - | |
| 1573 | + | |
| 1574 | + | |
1578 | 1575 |
| |
1579 | 1576 |
| |
1580 | 1577 |
| |
| |||
1589 | 1586 |
| |
1590 | 1587 |
| |
1591 | 1588 |
| |
1592 |
| - | |
1593 |
| - | |
1594 | 1589 |
| |
| 1590 | + | |
1595 | 1591 |
| |
1596 | 1592 |
| |
1597 | 1593 |
| |
| |||
1788 | 1784 |
| |
1789 | 1785 |
| |
1790 | 1786 |
| |
1791 |
| - | |
1792 |
| - | |
| 1787 | + | |
1793 | 1788 |
| |
1794 | 1789 |
| |
1795 | 1790 |
| |
| |||
1928 | 1923 |
| |
1929 | 1924 |
| |
1930 | 1925 |
| |
1931 |
| - | |
1932 |
| - | |
1933 | 1926 |
| |
| 1927 | + | |
1934 | 1928 |
| |
1935 | 1929 |
| |
1936 | 1930 |
| |
| |||
1963 | 1957 |
| |
1964 | 1958 |
| |
1965 | 1959 |
| |
1966 |
| - | |
1967 | 1960 |
| |
1968 | 1961 |
| |
1969 | 1962 |
| |
| |||
1976 | 1969 |
| |
1977 | 1970 |
| |
1978 | 1971 |
| |
1979 |
| - | |
1980 | 1972 |
| |
1981 | 1973 |
| |
1982 | 1974 |
| |
| |||
2031 | 2023 |
| |
2032 | 2024 |
| |
2033 | 2025 |
| |
2034 |
| - | |
2035 | 2026 |
| |
2036 | 2027 |
| |
2037 | 2028 |
| |
| |||
2096 | 2087 |
| |
2097 | 2088 |
| |
2098 | 2089 |
| |
2099 |
| - | |
2100 | 2090 |
| |
2101 | 2091 |
| |
2102 | 2092 |
| |
| |||
2146 | 2136 |
| |
2147 | 2137 |
| |
2148 | 2138 |
| |
| 2139 | + | |
2149 | 2140 |
| |
2150 | 2141 |
| |
2151 |
| - | |
2152 |
| - | |
2153 | 2142 |
| |
2154 | 2143 |
| |
2155 | 2144 |
| |
|
0 commit comments
Comments
(0)