PG-599: PGSM build failure on PG-11

Resolving the compilation issue caused by ereport statement.
This commit is contained in:
Hamid Akhtar
2023-01-24 20:19:48 +05:00
committed by Muhammad Usama
parent 9327c864d3
commit 3487e70cc6

View File

@@ -299,9 +299,9 @@ _PG_init(void)
if (b_count != hist_bucket_count_user)
ereport(WARNING,
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("pg_stat_monitor: Histogram buckets are overlapping."),
errdetail("Histogram bucket size is set to %d [not including outlier buckets].", hist_bucket_count_user));
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
errmsg("pg_stat_monitor: Histogram buckets are overlapping."),
errdetail("Histogram bucket size is set to %d [not including outlier buckets].", hist_bucket_count_user)));
}
}