Adjusting the allowed range and default value for log_rotation_size
authorMuhammad Usama <m.usama@Highgo.ca>
Wed, 13 Jan 2021 10:55:28 +0000 (15:55 +0500)
committerMuhammad Usama <m.usama@gmail.com>
Wed, 13 Jan 2021 10:58:25 +0000 (15:58 +0500)
src/config/pool_config_variables.c

index 3b8a8daba0a82cdaeda80349656dfc859a3bf905..e0d6384746b85fad36861814752ae924940d0996 100644 (file)
@@ -2072,8 +2072,8 @@ static struct config_int ConfigureNamesInt[] =
                        CONFIG_VAR_TYPE_INT, false, GUC_UNIT_KB
                },
                &g_pool_config.log_rotation_size,
-               0,
-               1, INT_MAX,
+               10 * 1024,
+               0, INT_MAX/1024,
                NULL, NULL, NULL
        },
        {