!3876 修改pooler_maxium_idle_time参数校验函数的报错日志接口

Merge pull request !3876 from duzhuolin/bugfix_Q25
This commit is contained in:
opengauss_bot
2023-07-29 02:33:02 +00:00
committed by Gitee

View File

@ -1183,7 +1183,7 @@ static bool check_ssl(bool* newval, void** extra, GucSource source)
static bool check_pooler_maximum_idle_time(int* newval, void** extra, GucSource source)
{
if (*newval < 0) {
ereport(ERROR, (errmsg("GaussDB can't support idle time less than 0 or more than %d seconds.", INT_MAX)));
GUC_check_errmsg("GaussDB can't support idle time less than 0 or more than %d seconds.", INT_MAX);
return false;
}