diff options
author | Andres Freund <andres@anarazel.de> | 2015-10-05 11:53:43 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-10-05 11:57:11 +0200 |
commit | 3933417141587253c85285f23c789538aa96a22f (patch) | |
tree | 473054b0fff86744fbe856b4f7764f75766e2e13 /src | |
parent | 04811c350b76b4bbccde1dea43c8032f7f8524df (diff) |
Re-Align *_freeze_max_age reloption limits with corresponding GUC limits.
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/common/reloptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/common/reloptions.c b/src/backend/access/common/reloptions.c index 84530dcfa6f..6ba96a210b0 100644 --- a/src/backend/access/common/reloptions.c +++ b/src/backend/access/common/reloptions.c @@ -176,7 +176,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 }, { { @@ -184,7 +184,7 @@ static relopt_int intRelOpts[] = "Multixact age at which to autovacuum a table to prevent multixact wraparound", RELOPT_KIND_HEAP | RELOPT_KIND_TOAST }, - -1, 100000000, 2000000000 + -1, 10000, 2000000000 }, { { |