]> granicus.if.org Git - postgresql/commitdiff
Re-Align *_freeze_max_age reloption limits with corresponding GUC limits.
authorAndres Freund <andres@anarazel.de>
Mon, 5 Oct 2015 09:53:43 +0000 (11:53 +0200)
committerAndres Freund <andres@anarazel.de>
Mon, 5 Oct 2015 09:57:25 +0000 (11:57 +0200)
In 020235a5754 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 020235a5754.

Discussion: 26377.1443105453@sss.pgh.pa.us
Backpatch: back to 9.0 (in parts), like the prior patch

src/backend/access/common/reloptions.c

index bad93087dec82d079e652232c37425e868a80ec4..b71de110beda5bd69e6b86516c18aa0a6bb3ecd7 100644 (file)
@@ -150,7 +150,7 @@ static relopt_int intRelOpts[] =
                        "Age at which to autovacuum a table to prevent transaction ID wraparound",
                        RELOPT_KIND_HEAP | RELOPT_KIND_TOAST
                },
-               -1, 100000000, 2000000000
+               -1, 100000, 2000000000
        },
        {
                {