[bugfix]修复当libpq.so与gsql的版本不匹配时,无法正常连接数据库
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user