Skip to content

Commit 3933417

Browse files
committed
Re-Align *_freeze_max_age reloption limits with corresponding GUC limits.
In 020235a I lowered the autovacuum_*freeze_max_age minimums to allow for easier testing of wraparounds. I did not touch the corresponding per-table limits. While those don't matter for the purpose of wraparound, it seems more consistent to lower them as well. It's noteworthy that the previous reloption lower limit for autovacuum_multixact_freeze_max_age was too high by one magnitude, even before 020235a. Discussion: 26377.1443105453@sss.pgh.pa.us Backpatch: back to 9.0 (in parts), like the prior patch
1 parent 04811c3 commit 3933417

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/common/reloptions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ static relopt_int intRelOpts[] =
176176
"Age at which to autovacuum a table to prevent transaction ID wraparound",
177177
RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
178178
},
179-
-1, 100000000, 2000000000
179+
-1, 100000, 2000000000
180180
},
181181
{
182182
{
183183
"autovacuum_multixact_freeze_max_age",
184184
"Multixact age at which to autovacuum a table to prevent multixact wraparound",
185185
RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
186186
},
187-
-1, 100000000, 2000000000
187+
-1, 10000, 2000000000
188188
},
189189
{
190190
{

0 commit comments

Comments
 (0)