[bugfix]修复当libpq.so与gsql的版本不匹配时,无法正常连接数据库

This commit is contained in:
douxin
2020-12-30 15:07:11 +08:00
committed by zhaowenhao
parent c9edc3a053
commit 482df78c44

View File

@ -131,7 +131,9 @@ int main(int argc, char* argv[])
if (strcmp(libpqVersionString, DEF_GS_VERSION) != 0) {
fprintf(stderr,
"The \"libpq.so\" loaded mismatch the version of gsql, please check it.\nexpected: %s\nresult: %s\n",
"[Warning]: The \"libpq.so\" loaded mismatch the version of gsql, "
"please check it.\n"
"expected: %s\nresult: %s\n",
DEF_GS_VERSION,
libpqVersionString);
#ifdef ENABLE_MULTIPLE_NODES