Log fewer errors (#10196)
This is a continuation of commit 456b2b31 in GPORCA. Adding more errors to the list that doesn't get logged in log file. We are also removing the code that writes to std::cerr, generating a not very nice looking log message. Instead, add the info whether the error was unexpected to another log message that we also generate. This is a cherry-pick of GPDB master PR greenplum-db/gpdb#10100. The corresponding Orca PR is https://github.com/greenplum-db/gporca/pull/586.
Showing
想要评论请 注册 或 登录