Writing a Postgres Extension with Pgrx for Visual Query Plans

When I worked at SingleStoreDB, we built this SQL syntax for instantly jumping into a visual query plan from the CLI: sql> EXPLAIN UI select customer, sum(cost_cents) as revenue from notifications n inner join offers o on o.offer_id = n.offer_id group by ts, customer