pgexplainjson

command
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

README

pgexplainjson

pgexplainjson renders PostgreSQL EXPLAIN (ANALYZE, FORMAT JSON) output with the generic rendering helpers.

go run ./examples/pgexplainjson < explain.json

Options:

  • -compact: use compact tree edges.
  • -wrap-width=N: wrap rendered operator text at the given total width.

The ID column is generated by this example in preorder traversal. PostgreSQL JSON does not provide stable plan-node IDs; the generated IDs only anchor the predicate appendix.

This example intentionally keeps PostgreSQL JSON parsing local to the example. The shared packages only provide generic tree, table, and predicate rendering.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL