10000 Lower *_freeze_max_age minimum values. · yinrcode/postgres@078d471 · GitHub
[go: up one dir, main page]

Skip to content

Commit 078d471

Browse files
committed
Lower *_freeze_max_age minimum values.
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)
1 parent c69e7d5 commit 078d471

File tree

1 file changed

+1
-1
lines changed
  • src/backend/utils/misc

1 file changed

+1
-1
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1973,7 +1973,7 @@ static struct config_int ConfigureNamesInt[] =
19731973
},
19741974
&autovacuum_freeze_max_age,
19751975
/* see pg_resetxlog if you change the upper-limit value */
1976-
200000000, 100000000, 2000000000, NULL, NULL
1976+
200000000, 100000, 2000000000, NULL, NULL
19771977
},
19781978
{
19791979
/* see max_connections */

0 commit comments

Comments
 (0)
0