aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-10-05 11:53:43 +0200
committerAndres Freund <andres@anarazel.de>2015-10-05 11:57:07 +0200
commit13ac4c035de96eb66c87bfba7faf4c5890293c36 (patch)
treef0173f70953605e10d1f7e579e778d644cdc291b
parent439b65e84e2464e1881e56e2f7218553730293dc (diff)
downloadpostgresql-13ac4c035de96eb66c87bfba7faf4c5890293c36.tar.gz
postgresql-13ac4c035de96eb66c87bfba7faf4c5890293c36.zip
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
-rw-r--r--src/backend/access/common/reloptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/common/reloptions.c b/src/backend/access/common/reloptions.c
index c7ad6f96f86..6c339c9fe55 100644
--- a/src/backend/access/common/reloptions.c
+++ b/src/backend/access/common/reloptions.c
@@ -185,7 +185,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
},
{
{
@@ -193,7 +193,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
},
{
{