Skip to content

Commit 0577821

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 90f334d commit 0577821

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/common/reloptions.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,15 +185,15 @@ static relopt_int intRelOpts[] =
185185
"Age at which to autovacuum a table to prevent transaction ID wraparound",
186186
RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
187187
},
188-
-1, 100000000, 2000000000
188+
-1, 100000, 2000000000
189189
},
190190
{
191191
{
192192
"autovacuum_multixact_freeze_max_age",
193193
"Multixact age at which to autovacuum a table to prevent multixact wraparound",
194194
RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
195195
},
196-
-1, 100000000, 2000000000
196+
-1, 10000, 2000000000
197197
},
198198
{
199199
{

0 commit comments

Comments
 (0)