AlexTatiyants / pev

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

Accept plan objects in addition to arrays #32

Closed lnikkila closed 1 month ago

lnikkila commented 7 years ago

I’m using auto_explain to log analyses of function calls. When it’s configured to output JSON, the root element of the document is a single plan object instead of an array of plans. I noticed the visualiser doesn’t accept these without wrapping them in an array.

Thanks for writing this, it’s been really helpful for me in the last few days! :smile:

frederikhors commented 1 month ago

@lnikkila ?

lnikkila commented 1 month ago

@frederikhors Cleaning up some of my old forks, I feel like PEV is mostly unmaintained these days. I would recommend using https://explain.dalibo.com/ instead, which uses https://github.com/dalibo/pev2. (You can also run it locally.)