PG-599: PGSM build failure on PG-11

Resolving the compilation issue caused by ereport statement.
pull/367/head
Hamid Akhtar 2023-01-24 20:19:48 +05:00 committed by Muhammad Usama
parent 9327c864d3
commit 3487e70cc6
1 changed files with 3 additions and 3 deletions

View File

@ -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)));
} }
} }