planscape
planscape · Headless module recording planner alternatives as JSON
Overview
Usage
Sources:
planscape is loaded into a PostgreSQL session to record planner alternatives while running EXPLAIN. Its control file identifies version 1.0, but the Makefile does not install extension SQL; use LOAD rather than CREATE EXTENSION.
Core Workflow
Operational Boundaries
The module intercepts planner and reporting functions through runtime code hooks and writes planning data as JSON. EXPLAIN (PLANSCAPE) is its documented entry point. Loading the library requires an appropriately privileged session. The low-level hook engine is architecture and server-build sensitive; the repository does not declare a current PostgreSQL support range or license. Use an isolated development environment and review its file-output behavior before testing sensitive queries.