Posted on August 11, 2016 Postgres: select ‘explain’ output into a query How to get the results of a Postgres ‘explain’ into a useable SQL data structure