On Mon, Aug 17, 2015 at 10:22 AM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> Would be tricky. We don't currently have any way to wrap an EXPLAIN in
> any larger statement, do we? Would be very useful for automated query
> analysis, though.
No. In the grammar, ExplainStmt expects the EXPLAIN to be at the
top-level. Having it work any other way would require significant
refactoring.
--
Peter Geoghegan