Merge pull request #221 from ibrarahmad/PG-382

PG-382: Adjust the maximum value for histogram buckets.
This commit is contained in:
Ibrar Ahmed
2022-05-26 21:39:07 +05:00
committed by GitHub
21 changed files with 88 additions and 80 deletions

2
guc.c
View File

@@ -137,7 +137,7 @@ init_guc(void)
.guc_desc = "Sets the maximum number of histogram buckets",
.guc_default = 10,
.guc_min = 2,
.guc_max = INT_MAX,
.guc_max = MAX_RESPONSE_BUCKET,
.guc_restart = true,
.guc_unit = 0,
.guc_value = &PGSM_HISTOGRAM_BUCKETS