aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2025-03-26 13:52:21 -0400
committerRobert Haas <rhaas@postgresql.org>2025-03-26 13:52:21 -0400
commit8d5ceb113e3f7ddb627bd40b26438a9d2fa05512 (patch)
tree6f837fcfedfc32b5aa0ff72a2ad174a09b782289 /src/tools
parent818245506c285e0325141dabb1ced45057937502 (diff)
downloadpostgresql-8d5ceb113e3f7ddb627bd40b26438a9d2fa05512.tar.gz
postgresql-8d5ceb113e3f7ddb627bd40b26438a9d2fa05512.zip
pg_overexplain: Additional EXPLAIN options for debugging.
There's a fair amount of information in the Plan and PlanState trees that isn't printed by any existing EXPLAIN option. This means that, when working on the planner, it's often necessary to rely on facilities such as debug_print_plan, which produce excessively voluminous output. Hence, use the new EXPLAIN extension facilities to implement EXPLAIN (DEBUG) and EXPLAIN (RANGE_TABLE) as extensions to the core EXPLAIN facility. A great deal more could be done here, and the specific choices about what to print and how are definitely arguable, but this is at least a starting point for discussion and a jumping-off point for possible future improvements. Reviewed-by: Sami Imseih <samimseih@gmail.com> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviweed-by: Andrei Lepikhov <lepihov@gmail.com> (who didn't like it) Discussion: http://postgr.es/m/CA+TgmoZfvQUBWQ2P8iO30jywhfEAKyNzMZSR+uc2xr9PZBw6eQ@mail.gmail.com
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/pgindent/typedefs.list1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list
index ff8d9ff0777..78e22a14f62 100644
--- a/src/tools/pgindent/typedefs.list
+++ b/src/tools/pgindent/typedefs.list
@@ -4278,3 +4278,4 @@ z_streamp
zic_t
ExplainExtensionOption
ExplainOptionHandler
+overexplain_options