postgresql/contrib/pg_overexplain
Robert Haas 0442f1c9ef Add a guc_check_handler to the EXPLAIN extension mechanism.
It would be useful to be able to tell auto_explain to set a custom
EXPLAIN option, but it would be bad if it tried to do so and the
option name or value wasn't valid, because then every query would fail
with a complaint about the EXPLAIN option. So add a guc_check_handler
that auto_explain will be able to use to only try to set option
name/value/type combinations that have been determined to be legal,
and to emit useful messages about ones that aren't.

Reviewed-by: Matheus Alcantara <matheusssilv97@gmail.com>
Reviewed-by: Lukas Fittl <lukas@fittl.com>
Discussion: http://postgr.es/m/CA+Tgmob-0W8306mvrJX5Urtqt1AAasu8pi4yLrZ1XfwZU-Uj1w@mail.gmail.com
2026-04-06 12:31:47 -04:00
..
expected SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
sql SQL Property Graph Queries (SQL/PGQ) 2026-03-16 10:14:18 +01:00
.gitignore pg_overexplain: Additional EXPLAIN options for debugging. 2025-03-26 13:52:21 -04:00
Makefile pg_overexplain: Additional EXPLAIN options for debugging. 2025-03-26 13:52:21 -04:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_overexplain.c Add a guc_check_handler to the EXPLAIN extension mechanism. 2026-04-06 12:31:47 -04:00