]> granicus.if.org Git - postgresql/commitdiff
Lower *_freeze_max_age minimum values.
authorAndres Freund <andres@anarazel.de>
Thu, 24 Sep 2015 12:53:33 +0000 (14:53 +0200)
committerAndres Freund <andres@anarazel.de>
Thu, 24 Sep 2015 12:53:33 +0000 (14:53 +0200)
The old minimum values are rather large, making it time consuming to
test related behaviour. Additionally the current limits, especially for
multixacts, can be problematic in space-constrained systems. 10000000
multixacts can contain a lot of members.

Since there's no good reason for the current limits, lower them a good
bit. Setting them to 0 would be a bad idea, triggering endless vacuums,
so still retain a limit.

While at it fix autovacuum_multixact_freeze_max_age to refer to
multixact.c instead of varsup.c.

Reviewed-By: Robert Haas
Discussion: CA+TgmoYmQPHcrc3GSs7vwvrbTkbcGD9Gik=OztbDGGrovkkEzQ@mail.gmail.com
Backpatch: 9.0 (in parts)

src/backend/utils/misc/guc.c

index 00a635fff2810ce848b940d46338707380881c6c..b9b6b2053fee3860beff788435831ca4f08a3b45 100644 (file)
@@ -2248,7 +2248,7 @@ static struct config_int ConfigureNamesInt[] =
                },
                &autovacuum_freeze_max_age,
                /* see pg_resetxlog if you change the upper-limit value */
-               200000000, 100000000, 2000000000,
+               200000000, 100000, 2000000000,
                NULL, NULL, NULL
        },
        {