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:49 +0000 (15:58 +0500)
src/config/pool_config_variables.c

index fd90260ee3bbe1ba00887943e67a4f46722fc563..cd42b1f45524c8727dff42d7e0436769fb18dcaa 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
        },
        {