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

This commit is contained in:
duzhuolin
2023-07-28 15:08:32 +08:00
parent d65e08d529
commit 1505986cd1

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