Catch exceptions from C++ in EXPLAIN for DXL generation
When generating DXL output in EXPLAIN {ANALYZE}, make sure to catch any exceptions generated on the C++ side to avoid a server crash on queries where ORCA fail to generate a plan. A better job of catching the various different possible exceptions and generating nice error messages can be made, this closes the current hole of trivial core dumps on for example this: EXPLAIN (dxl) SELECT * FROM pg_class;
Showing
想要评论请 注册 或 登录