[#127944191] Fix compiler warning in gp_dump_query_oids
We just need to pass the query tree, we don't need source sql text and other arguments, so change to QueryRewrite here. Previously an implicit cast was causing a compiler warning. Also, the method pg_analyze_and_rewrite is overkill, and in fact calls QueryRewrite.
Showing
想要评论请 注册 或 登录