sfackler/rust-postgres

A way to retrieve a more structure query plan from EXPLAIN

hirenhpatel opened this issue · 2 comments

I am able to get the query plan by prepending EXPLAIN to the query string I send through postgres::Client.

But the result comes back as rows of unstructured &str that I must parse.

Is this a limitation of the Postgres front end? or is there a way to get this in a more structured form through rust-postgres?

I am not aware of any way to get more structured query planning information than what the EXPLAIN verb will do.

Thank you.