Michael Paquier <michael@paquier.xyz> writes:
> The DECLARE CURSOR case in ExplainOneUtility() does a copy of a Query.
> Perhaps a comment should be added to explain why a copy is still
> required?
I did add a comment about that in the v2 patch --- the issue is the
call path for EXPLAIN EXECUTE.
regards, tom lane