AlexTatiyants / pev

Postgres Explain Visualizer
MIT License
2.77k stars 194 forks source link

how to dump result of explain query to a file ? #6

Closed kapouer closed 8 years ago

kapouer commented 8 years ago

If i naively put the query in a file, then do a simple psql -f explain.sql > analyze.json it is somewhat pretty-printed with additional characters.

msakrejda commented 8 years ago

@kapouer try psql -qAt -f explain.sql > analyze.json