mirror of
https://github.com/percona/pg_stat_monitor.git
synced 2026-02-04 14:06:20 +00:00
PG-599: PGSM build failure on PG-11
Resolving the compilation issue caused by ereport statement.
This commit is contained in:
committed by
Muhammad Usama
parent
9327c864d3
commit
3487e70cc6
@@ -299,9 +299,9 @@ _PG_init(void)
|
|||||||
|
|
||||||
if (b_count != hist_bucket_count_user)
|
if (b_count != hist_bucket_count_user)
|
||||||
ereport(WARNING,
|
ereport(WARNING,
|
||||||
errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
(errcode(ERRCODE_INVALID_PARAMETER_VALUE),
|
||||||
errmsg("pg_stat_monitor: Histogram buckets are overlapping."),
|
errmsg("pg_stat_monitor: Histogram buckets are overlapping."),
|
||||||
errdetail("Histogram bucket size is set to %d [not including outlier buckets].", hist_bucket_count_user));
|
errdetail("Histogram bucket size is set to %d [not including outlier buckets].", hist_bucket_count_user)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user