Commit 76a31c6
committed
Replace hardcoded 200000000 with autovacuum_freeze_max_age
Parts of the code used autovacuum_freeze_max_age to determine whether
anti-multixact-wraparound vacuums are necessary, while others used a
hardcoded 200000000 value. This leads to problems when
autovacuum_freeze_max_age is set to a non-default value. Use the latter
everywhere.
Backpa
7440
tch to 9.3, where vacuuming of multixacts was introduced.
Andres Freund1 parent 79193c7 commit 76a31c6
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
1958 | 1959 | | |
1959 | 1960 | | |
1960 | 1961 | | |
| 1962 | + | |
| 1963 | + | |
| 1964 | + | |
| 1965 | + | |
1961 | 1966 | | |
1962 | 1967 | | |
1963 | 1968 | | |
| |||
1979 | 1984 | | |
1980 | 1985 | | |
1981 | 1986 | | |
1982 | | - | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
1983 | 1991 | | |
1984 | | - | |
| 1992 | + | |
1985 | 1993 | | |
1986 | 1994 | | |
1987 | 1995 | | |
| |||
0 commit comments